ios Fixes
This commit is contained in:
@@ -36,3 +36,5 @@ App.ApplicationStore = DS.Store.extend
|
|||||||
adapter: DS.ActiveModelAdapter.extend
|
adapter: DS.ActiveModelAdapter.extend
|
||||||
host: $data_host
|
host: $data_host
|
||||||
namespace: 'user'
|
namespace: 'user'
|
||||||
|
headers:
|
||||||
|
"Accept": "application/json, text/javascript; q=0.01"
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
module Users
|
module Users
|
||||||
class ApplicationController < ::ApplicationController
|
class ApplicationController < ::ApplicationController
|
||||||
before_action :allow_all_origins
|
before_action :allow_all_origins
|
||||||
before_action :user_authentication, :unless => ->(c){ %w(obtain_token).include?(c.action_name) || c.request.format.symbol == :html } # , except: [:obtain_token, :index]
|
before_action :user_authentication, :unless => ->(c){ %w(obtain_token).include?(c.action_name) } # , except: [:obtain_token, :index]
|
||||||
|
|
||||||
private
|
private
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -1 +1 @@
|
|||||||
0.9.24
|
0.9.27
|
||||||
|
|||||||
Reference in New Issue
Block a user