Sha256: de995b62c7246ad6f41167c98f40d3ef7d9373f4a6142ad12de8762fac38ce57
Contents?: true
Size: 377 Bytes
Versions: 1
Compression:
Stored size: 377 Bytes
Contents
require 'devise' require 'devise/models/api_token_authenticatable' require 'devise/strategies/api_token_authenticatable' module Devise add_module(:api_token_authenticatable, :strategy => true) # TODO somehow configure warden failure app to not use new_session_path mattr_accessor :api_token_authentication_keys self.api_token_authentication_keys = [:login, :token] end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
travis-core-0.0.1 | lib/devise/api_token_authenticatable.rb |