More Rails 4.0 upgrade changes
1. Compared existing branch with empty Rails 4.0 project and
made changes as needed.
2. Fix find/first warning.
3. Fix sqlite timeout issue.
-- config/database.yml
-- spec/vulnerabilities/insecure_dor_spec.rb
This commit is contained in:
@@ -3,7 +3,9 @@ class ApplicationController < ActionController::Base
|
||||
helper_method :current_user, :is_admin?, :sanitize_font
|
||||
|
||||
# Our security guy keep talking about sea-surfing, cool story bro.
|
||||
# protect_from_forgery
|
||||
# Prevent CSRF attacks by raising an exception.
|
||||
# For APIs, you may want to use :null_session instead.
|
||||
#protect_from_forgery with: :exception
|
||||
|
||||
private
|
||||
|
||||
|
||||
Reference in New Issue
Block a user