lib/generators/mdd/sandbox/templates/app/controllers/a/backend_controller.rb in mdd-2.0.1 vs lib/generators/mdd/sandbox/templates/app/controllers/a/backend_controller.rb in mdd-2.0.2
- old
+ new
@@ -1,10 +1,9 @@
class A::BackendController < ApplicationController
before_filter :authenticate_a_user!
check_authorization
- load_and_authorize_resource
def current_ability
@current_ability ||= Ability.new(current_user)
end
\ No newline at end of file