app/controllers/locomotive/base_controller.rb in locomotive_cms-2.3.0 vs app/controllers/locomotive/base_controller.rb in locomotive_cms-2.3.1
- old
+ new
@@ -54,10 +54,10 @@
Thread.current[:account] = current_locomotive_account
Thread.current[:site] = current_site
end
def current_ability
- @current_ability ||= Ability.new(current_locomotive_account, current_site)
+ @current_ability ||= Locomotive::Ability.new(current_locomotive_account, current_site)
end
def require_account
authenticate_locomotive_account!
end
\ No newline at end of file