ios Fixes

This commit is contained in:
2014-12-24 12:37:17 +01:00
parent 6cdb09e09d
commit 0c66a0a9e3
3 changed files with 4 additions and 2 deletions
@@ -36,3 +36,5 @@ App.ApplicationStore = DS.Store.extend
adapter: DS.ActiveModelAdapter.extend
host: $data_host
namespace: 'user'
headers:
"Accept": "application/json, text/javascript; q=0.01"
@@ -1,7 +1,7 @@
module Users
class ApplicationController < ::ApplicationController
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