Skip to content

Commit

Permalink
Changed attachment_defintiions from an accessor to a reader
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.thoughtbot.com/plugins/paperclip/trunk@235 7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
  • Loading branch information
jyurek committed Oct 31, 2007
1 parent bb51ba0 commit fdd71b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/paperclip.rb
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ def has_attached_file *attachment_names
@attachment_definitions ||= {}

class << self
attr_accessor :attachment_definitions
attr_reader :attachment_definitions
end

include InstanceMethods
Expand Down

0 comments on commit fdd71b3

Please sign in to comment.