Sha256: 2de4beb4065526530d5ce8fed420bece3a09306e2c04651efa0691aa36e1f50a

Contents?: true

Size: 379 Bytes

Versions: 4

Compression:

Stored size: 379 Bytes

Contents

module PushType
  class AdminController < ActionController::Base

    layout 'push_type/admin'
    before_filter :initial_breadcrumb
    helper_method :push_type_user

    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

4 entries across 4 versions & 1 rubygems

Version Path
push_type_admin-0.4.0 app/controllers/push_type/admin_controller.rb
push_type_admin-0.4.0.beta.3 app/controllers/push_type/admin_controller.rb
push_type_admin-0.3.3 app/controllers/push_type/admin_controller.rb
push_type_admin-0.3.1 app/controllers/push_type/admin_controller.rb