no rails3 warning
This commit is contained in:
parent
dff04b470f
commit
0d117fb710
2
vendor/plugins/acts_as_permissible/init.rb
vendored
2
vendor/plugins/acts_as_permissible/init.rb
vendored
|
@ -1,6 +1,6 @@
|
|||
# Include hook code here
|
||||
begin
|
||||
require "#{RAILS_ROOT}/lib/acts_as_permissible"
|
||||
require "#{Rails.root.to_s}/lib/acts_as_permissible"
|
||||
ActiveRecord::Base.send(:include, NoamBenAri::Acts::Permissible)
|
||||
rescue MissingSourceFile => m
|
||||
|
||||
|
|
Loading…
Reference in a new issue