Sha256: 31a990f9eb42c93e25e7cb9804ff17e0c9dd16ae5f18efd5b6be5ea647adec57

Contents?: true

Size: 345 Bytes

Versions: 5

Compression:

Stored size: 345 Bytes

Contents

module PushType
  class AdminController < ActionController::Base

    layout 'push_type/admin'
    before_filter :initial_breadcrumb

    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

5 entries across 5 versions & 1 rubygems

Version Path
push_type_admin-0.2.1 app/controllers/push_type/admin_controller.rb
push_type_admin-0.2.0 app/controllers/push_type/admin_controller.rb
push_type_admin-0.2.0.beta2 app/controllers/push_type/admin_controller.rb
push_type_admin-0.1.1 app/controllers/push_type/admin_controller.rb
push_type_admin-0.1.0 app/controllers/push_type/admin_controller.rb