app/controllers/qbrick/cms/admins_controller.rb in qbrick-2.6.10 vs app/controllers/qbrick/cms/admins_controller.rb in qbrick-2.7
- old
+ new
@@ -1,8 +1,8 @@
module Qbrick
module Cms
class AdminsController < BackendController
- before_action :set_admin, only: [:show, :edit, :update, :destroy]
+ before_action :set_admin, only: %i(show edit update destroy)
# GET /admins
# GET /admins.json
def index
@admins = Qbrick::Admin.all