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

Version Path
mix-rails-0.22.0 admix/app/controllers/admix/admix_controller.rb
admix-0.22.0 app/controllers/admix/admix_controller.rb
mix-rails-0.16.0 admix/app/controllers/admix/admix_controller.rb
admix-0.16.0 app/controllers/admix/admix_controller.rb
mix-rails-0.15.0 admix/app/controllers/admix/admix_controller.rb
admix-0.15.0 app/controllers/admix/admix_controller.rb
mix-rails-0.12.2 admix/app/controllers/admix/admix_controller.rb
admix-0.12.2 app/controllers/admix/admix_controller.rb
mix-rails-0.12.1 admix/app/controllers/admix/admix_controller.rb
admix-0.12.1 app/controllers/admix/admix_controller.rb
admix-0.11.0 app/controllers/admix/admix_controller.rb