Kill trailing whitespace in ruby files
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
class PostVersionPresenter < Presenter
|
||||
attr_reader :post_version
|
||||
|
||||
|
||||
def initialize(post_version)
|
||||
@post_version = post_version
|
||||
end
|
||||
|
||||
|
||||
def changes
|
||||
html = []
|
||||
html << post_version.tag_array
|
||||
@@ -13,7 +13,7 @@ class PostVersionPresenter < Presenter
|
||||
html << "<ins>parent:#{post_version.parent_id}</ins>" if post_version.parent_id
|
||||
html.join(" ").html_safe
|
||||
end
|
||||
|
||||
|
||||
def updater_name
|
||||
User.id_to_name(post_version.updater_id)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user