Sha256: 5cee0f255aea3d7e872b27d9535d603a2925bb933119d902b63cb4941c3fdbec
Contents?: true
Size: 432 Bytes
Versions: 31
Compression:
Stored size: 432 Bytes
Contents
module Admix class AdmixController < MixController before_filter :authenticate_admix_user!, :add_initial_breadcrumbs, :globals def current_user current_admix_user end protected def add_initial_breadcrumbs breadcrumbs.add t('admix.dashboard'), admix_root_path, :id => 'dashboard', :title => 'Go to the home page' end def globals @controller = params[:controller] end end end
Version data entries
31 entries across 31 versions & 2 rubygems