Sha256: 3eb18593249fad59bb96a976627553de17a976afe93a3dddc6b16d9b85940615

Contents?: true

Size: 225 Bytes

Versions: 14

Compression:

Stored size: 225 Bytes

Contents

module PushType
  class ApiController < ActionController::Base

    protect_from_forgery with: :null_session

    protected

    def push_type_user
      respond_to?(:current_user) ? current_user : nil
    end
    
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
push_type_api-0.12.1 app/controllers/push_type/api_controller.rb
push_type_api-0.12.0 app/controllers/push_type/api_controller.rb
push_type_api-0.12.0.beta.1 app/controllers/push_type/api_controller.rb
push_type_api-0.11.2 app/controllers/push_type/api_controller.rb
push_type_api-0.11.1 app/controllers/push_type/api_controller.rb
push_type_api-0.11.0.beta.2 app/controllers/push_type/api_controller.rb
push_type_api-0.11.0.beta.1 app/controllers/push_type/api_controller.rb
push_type_api-0.10.4 app/controllers/push_type/api_controller.rb
push_type_api-0.10.3 app/controllers/push_type/api_controller.rb
push_type_api-0.10.2 app/controllers/push_type/api_controller.rb
push_type_api-0.10.1 app/controllers/push_type/api_controller.rb
push_type_api-0.10.0 app/controllers/push_type/api_controller.rb
push_type_api-0.10.0.beta.5 app/controllers/push_type/api_controller.rb
push_type_api-0.10.0.beta.3 app/controllers/push_type/api_controller.rb