photomix/vendor/plugins/acts_as_permissible/init.rb

7 lines
184 B
Ruby
Raw Normal View History

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