Permalink
Browse files

Added editable file url

  • Loading branch information...
1 parent 5ac95d5 commit 5c651423e61aa6ce51129b017e6dec828fcb0d75 @alexsanford alexsanford committed May 17, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 app/presenters/locomotive/editable_file_presenter.rb
@@ -9,6 +9,10 @@ def filename
File.basename(self.content)
end
+ def url
+ self.content
+ end
+
def included_methods
super + %w(filename content url)
end

0 comments on commit 5c65142

Please sign in to comment.