diff options
| author | jpl | 2017-01-31 18:56:12 +0100 | 
|---|---|---|
| committer | jpl | 2017-01-31 18:56:12 +0100 | 
| commit | 1ab744cb277ad2e1f7cc4030102b74f2fdb44c08 (patch) | |
| tree | 30bceedd88426463281d8cd614e2e9cb67ad1274 /app/controllers/application_controller.rb | |
| parent | 3921e00bc5a589033f1ba737a1ef45ecdbd7e383 (diff) | |
| download | chouette-core-1ab744cb277ad2e1f7cc4030102b74f2fdb44c08.tar.bz2 | |
Refs #2482: starting integration for workbenches
Diffstat (limited to 'app/controllers/application_controller.rb')
| -rw-r--r-- | app/controllers/application_controller.rb | 3 | 
1 files changed, 0 insertions, 3 deletions
| diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index b616def70..c2414f5bb 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -2,9 +2,6 @@ class ApplicationController < ActionController::Base    include Pundit    rescue_from Pundit::NotAuthorizedError, with: :user_not_authorized -  # Comment to activate the new layout -  # layout 'application_new' -    # TODO : Delete hack to authorize Cross Request for js and json get request from javascript    protect_from_forgery unless: -> { request.get? && (request.format.json? || request.format.js?) }    before_action :authenticate_user! | 
