Sha256: 7733309ba53858366903cc9a3cfbf6e46151f7d20d16494c86d8540259ec8874
Contents?: true
Size: 473 Bytes
Versions: 1
Compression:
Stored size: 473 Bytes
Contents
module MailyHerald module Webui class ApplicationController < ActionController::Base include MailyHerald::Webui::Breadcrumbs::ControllerExtensions include MailyHerald::Webui::MenuManager::ControllerExtensions helper SmartListing::Helper helper_method :expert_mode?, :work_mode def work_mode session[:work_mode].try(:to_sym) || :regular end def expert_mode? work_mode == :expert end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
maily_herald-webui-0.8.0 | app/controllers/maily_herald/webui/application_controller.rb |