photomix/vendor/plugins/acts_as_permissible/init.rb
2011-04-11 18:07:31 +08:00

7 lines
No EOL
189 B
Ruby

# Include hook code here
begin
require "#{Rails.root.to_s}/lib/acts_as_permissible"
ActiveRecord::Base.send(:include, NoamBenAri::Acts::Permissible)
rescue MissingSourceFile => m
end