Refactor for mobile deployment
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
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]
|
||||
|
||||
private
|
||||
|
||||
Reference in New Issue
Block a user