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.26.3 admix/app/controllers/admix/admix_controller.rb
admix-0.26.3 app/controllers/admix/admix_controller.rb
mix-rails-0.26.2 admix/app/controllers/admix/admix_controller.rb
admix-0.26.2 app/controllers/admix/admix_controller.rb
mix-rails-0.26.1 admix/app/controllers/admix/admix_controller.rb
admix-0.26.1 app/controllers/admix/admix_controller.rb
mix-rails-0.26.0 admix/app/controllers/admix/admix_controller.rb
admix-0.26.0 app/controllers/admix/admix_controller.rb
mix-rails-0.25.1 admix/app/controllers/admix/admix_controller.rb
admix-0.25.1 app/controllers/admix/admix_controller.rb
mix-rails-0.25.0 admix/app/controllers/admix/admix_controller.rb
admix-0.25.0 app/controllers/admix/admix_controller.rb
mix-rails-0.24.1 admix/app/controllers/admix/admix_controller.rb
admix-0.24.1 app/controllers/admix/admix_controller.rb
mix-rails-0.24.0 admix/app/controllers/admix/admix_controller.rb
admix-0.24.0 app/controllers/admix/admix_controller.rb
mix-rails-0.23.1 admix/app/controllers/admix/admix_controller.rb
admix-0.23.1 app/controllers/admix/admix_controller.rb
mix-rails-0.23.0 admix/app/controllers/admix/admix_controller.rb
admix-0.23.0 app/controllers/admix/admix_controller.rb