Sha256: c521257120d0fff7cd74326d440fb958c51bf34dd0c4066d09cc9347c12cdc68
Contents?: true
Size: 469 Bytes
Versions: 22
Compression:
Stored size: 469 Bytes
Contents
module PushType class AdminController < ActionController::Base layout 'push_type/admin' before_filter :initial_breadcrumb helper_method :push_type_user # TODO - do I need to require all helpers helper PushType::Admin::Engine.helpers def info render layout: false end protected def push_type_user respond_to?(:current_user) ? current_user : nil end def initial_breadcrumb true end end end
Version data entries
22 entries across 22 versions & 1 rubygems