presenters: inline UploadPresenter.
This commit is contained in:
@@ -1,12 +0,0 @@
|
||||
class UploadPresenter
|
||||
attr_reader :upload
|
||||
delegate :inline_tag_list_html, to: :tag_set_presenter
|
||||
|
||||
def initialize(upload)
|
||||
@upload = upload
|
||||
end
|
||||
|
||||
def tag_set_presenter
|
||||
@tag_set_presenter ||= TagSetPresenter.new(upload.tag_string.split)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user