Module: AdminOnly
- Extended by:
- ActiveSupport::Concern
- Defined in:
- lib/generators/pages/upmin/templates/upmin.rb
Overview
config/initializers/upmin.rb Extends the Upmin ApplicationController to limit access to users with an admin role. Depends on Devise for authentication plus role-based authorization. Be sure to restart your server when you modify this file.