android build progress
This commit is contained in:
@@ -55,10 +55,10 @@ Devise.setup do |config|
|
||||
# It can be set to an array that will enable http authentication only for the
|
||||
# given strategies, for example, `config.http_authenticatable = [:token]` will
|
||||
# enable it only for token authentication.
|
||||
# config.http_authenticatable = false
|
||||
config.http_authenticatable = [:token]
|
||||
|
||||
# If http headers should be returned for AJAX requests. True by default.
|
||||
# config.http_authenticatable_on_xhr = true
|
||||
config.http_authenticatable_on_xhr = true
|
||||
|
||||
# The realm used in Http Basic Authentication. "Application" by default.
|
||||
# config.http_authentication_realm = "Application"
|
||||
@@ -176,7 +176,7 @@ Devise.setup do |config|
|
||||
|
||||
# ==> Configuration for :token_authenticatable
|
||||
# Defines name of the authentication token params key
|
||||
# config.token_authentication_key = :auth_token
|
||||
config.token_authentication_key = :auth_token
|
||||
|
||||
# ==> Scopes configuration
|
||||
# Turn scoped views on. Before rendering "sessions/new", it will first check for
|
||||
|
||||
+3
-2
@@ -38,9 +38,10 @@ Qrammer::Application.routes.draw do
|
||||
|
||||
# USER
|
||||
default_url_options format: 'html', host: 'bladiblah'
|
||||
match '/user' => 'user#home', as: :user_root
|
||||
match '/user' => redirect('/user/home.html')
|
||||
match '/user/home' => 'user#home', as: :user_root
|
||||
get '/user/active_list(.:format)' => 'user#active_list', as: :user_active_list
|
||||
get '/user/list_info' => 'user#list_info', as: :user_list_info
|
||||
match '/user/list_info' => 'user#list_info', as: :user_list_info, via: [:get, :options]
|
||||
post '/user/needs_help' => 'user#needs_help', as: :user_needs_help
|
||||
post '/user/list_needs_payment' => 'user#list_needs_payment', as: :user_list_needs_payment
|
||||
match '/user/create_list' => 'user#create_list', as: :user_create_list
|
||||
|
||||
Reference in New Issue
Block a user