Remove temporary development code
This commit is contained in:
parent
8360f275f9
commit
b7baa2c10a
2 changed files with 0 additions and 3 deletions
|
@ -1,6 +1,5 @@
|
||||||
class ApplicationController < ActionController::Base
|
class ApplicationController < ActionController::Base
|
||||||
include SessionPersistence
|
include SessionPersistence
|
||||||
# check_authorization
|
|
||||||
|
|
||||||
protect_from_forgery :with => :exception
|
protect_from_forgery :with => :exception
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,6 @@
|
||||||
class UsersController < ApplicationController
|
class UsersController < ApplicationController
|
||||||
layout "site", :except => [:api_details]
|
layout "site", :except => [:api_details]
|
||||||
|
|
||||||
skip_authorization_check :only => [:login, :logout]
|
|
||||||
|
|
||||||
skip_before_action :verify_authenticity_token, :only => [:api_read, :api_users, :api_details, :api_gpx_files, :auth_success]
|
skip_before_action :verify_authenticity_token, :only => [:api_read, :api_users, :api_details, :api_gpx_files, :auth_success]
|
||||||
before_action :disable_terms_redirect, :only => [:terms, :save, :logout, :api_details]
|
before_action :disable_terms_redirect, :only => [:terms, :save, :logout, :api_details]
|
||||||
before_action :authorize, :only => [:api_details, :api_gpx_files]
|
before_action :authorize, :only => [:api_details, :api_gpx_files]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue