spec/dummy/app/controllers/application_controller.rb in enju_library-0.1.2 vs spec/dummy/app/controllers/application_controller.rb in enju_library-0.2.0.beta.1
- old
+ new
@@ -1,6 +1,9 @@
class ApplicationController < ActionController::Base
protect_from_forgery
- enju_leaf
- enju_biblio
- enju_library
+ include EnjuLeaf::Controller
+ include EnjuBiblio::Controller
+ include EnjuLibrary::Controller
+ after_action :verify_authorized
+
+ include Pundit
end