Poltergeist in the green, and resourceful refactor

This commit is contained in:
2015-02-27 15:12:08 +01:00
parent d1015dcc88
commit 046058b5d2
31 changed files with 210 additions and 165 deletions
@@ -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'] = '*'