app/controllers/adminpanel/sections_controller.rb in adminpanel-1.2.9 vs app/controllers/adminpanel/sections_controller.rb in adminpanel-1.2.10

- old
+ new

@@ -1,6 +1,8 @@ module Adminpanel class SectionsController < Adminpanel::ApplicationController + load_and_authorize_resource + def new @section = Section.new end # def create