Commit 334a06878fddc3b9b2ed2be916ac92cb1584b50c
1 parent
dc31e472
Exists in
master
and in
29 other branches
Removed hardcoded url from Image model
Showing
1 changed file
with
0 additions
and
5 deletions
Show diff stats
app/models/image.rb
@@ -23,9 +23,4 @@ class Image < ActiveRecord::Base | @@ -23,9 +23,4 @@ class Image < ActiveRecord::Base | ||
23 | 23 | ||
24 | postgresql_attachment_fu | 24 | postgresql_attachment_fu |
25 | 25 | ||
26 | - alias_method :public_filename_old, :public_filename | ||
27 | - def public_filename(*args) | ||
28 | - "http://cirandas.net#{public_filename_old(args)}" | ||
29 | - end | ||
30 | - | ||
31 | end | 26 | end |