Remove unused function, closes #174

This commit is contained in:
Mo Bitar
2017-12-16 10:18:41 -06:00
parent cdff4cb326
commit a52f61405d

View File

@@ -8,7 +8,7 @@ class ApplicationController < ActionController::Base
layout :false
def frontend
set_app_domain
end
rescue_from ActionView::MissingTemplate do |exception|
@@ -20,10 +20,6 @@ class ApplicationController < ActionController::Base
response.headers.except! 'X-Frame-Options'
end
def set_app_domain
@appDomain = request.domain
@appDomain << ':' + request.port.to_s unless request.port.blank?
end
def set_csrf_cookie
cookies['XSRF-TOKEN'] = form_authenticity_token if protect_against_forgery?
end