Sha256: 551d53cea749323efd6c6ef4a49ee889f8a437201b64b8ee168b01d54b324ac0
Contents?: true
Size: 281 Bytes
Versions: 2
Compression:
Stored size: 281 Bytes
Contents
module Admin class BaseController < ActionController::Base protect_from_forgery before_action :authenticate_admin_user!, except: %w(index) def index render '/admin/index', layout: 'admin' end def bootstrap_data render json: {} end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
chr-0.5.7 | templates/character_base_controller.rb |
chr-0.5.6 | templates/character_base_controller.rb |