Updated applications, development admin settings to be staff only

• Updated:
- applications, development admin settings to be staff only
This commit is contained in:
mgabdev
2020-10-28 23:09:53 -05:00
parent c1b4a6f034
commit acc956777e
2 changed files with 2 additions and 1 deletions

View File

@@ -4,6 +4,7 @@ class Settings::ApplicationsController < Settings::BaseController
layout 'admin'
before_action :authenticate_user!
before_action :require_staff!
before_action :set_application, only: [:show, :update, :destroy, :regenerate]
before_action :prepare_scopes, only: [:create, :update]