Poltergeist in the green, and resourceful refactor
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
class ApplicationController < ActionController::Base
|
||||
include ControllerAfterAuthenticationHooks
|
||||
before_action :set_locale
|
||||
if Rails.env.development?
|
||||
before_action :force_reloads
|
||||
@@ -14,6 +15,7 @@ class ApplicationController < ActionController::Base
|
||||
|
||||
private
|
||||
|
||||
|
||||
def allow_all_origins
|
||||
headers['Access-Control-Allow-Origin'] = '*'
|
||||
headers['Access-Control-Request-Method'] = '*'
|
||||
|
||||
Reference in New Issue
Block a user