Sha256: c79e7cb5a2ff7df46492617c327328db5841f1ca6c3c63d33acacaa5e81de5df
Contents?: true
Size: 469 Bytes
Versions: 11
Compression:
Stored size: 469 Bytes
Contents
module PushType class AdminController < ActionController::Base layout 'push_type/admin' before_action :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
11 entries across 11 versions & 1 rubygems