Sha256: 4952d36783d7f305d0de00e3148be77aa2f9c9f6884a9e42f95bd8dd558541e3
Contents?: true
Size: 854 Bytes
Versions: 8
Compression:
Stored size: 854 Bytes
Contents
module Usman class ApplicationController < Kuppayam::BaseController include Usman::AuthenticationHelper layout 'kuppayam/xenon/admin' before_action :current_user before_action :require_user helper_method :breadcrumb_home_path private def stylesheet_filename @stylesheet_filename = "kuppayam-xenon" end def javascript_filename @javascript_filename = "kuppayam-xenon" end def set_default_title set_title("Usman Admin | User Management Module") end def configure_filter_param_mapping @filter_param_mapping = default_filter_param_mapping @filter_param_mapping[:super_admin] = :sa @filter_param_mapping[:user] = :us @filter_param_mapping[:feature] = :ft end def breadcrumb_home_path usman.dashboard_path end end end
Version data entries
8 entries across 8 versions & 1 rubygems