Cruft removed
This commit is contained in:
parent
91c2b327d1
commit
5ced4d3898
1 changed files with 0 additions and 9 deletions
|
|
@ -3,15 +3,6 @@ class ApplicationController < ActionController::Base
|
||||||
# For APIs, you may want to use :null_session instead.
|
# For APIs, you may want to use :null_session instead.
|
||||||
protect_from_forgery with: :exception
|
protect_from_forgery with: :exception
|
||||||
|
|
||||||
# before_filter :create_user_token
|
|
||||||
|
|
||||||
# Do not mention passwords in the log file
|
# Do not mention passwords in the log file
|
||||||
# filter_parameter_logging :password
|
# filter_parameter_logging :password
|
||||||
|
|
||||||
# Assign the visitor a unique hash so that we can track their uploads
|
|
||||||
# and show them even before moderation.
|
|
||||||
# def create_user_token
|
|
||||||
# session[:token] ||= SecureRandom.hex
|
|
||||||
# session[:ip] ||= request.remote_ip
|
|
||||||
# end
|
|
||||||
end
|
end
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue