Merge pull request #547 from kid0m4n/convert-ruby-1-9-syntax

Convert a lot of :a => b to a: b and bring peace to the world
This commit is contained in:
Sam
2013-03-24 16:43:17 -07:00
62 changed files with 171 additions and 171 deletions

View File

@ -217,7 +217,7 @@ class ApplicationController < ActionController::Base
def check_restricted_access
# note current_user is defined in the CurrentUser mixin
if SiteSetting.access_password.present? && cookies[:_access] != SiteSetting.access_password
redirect_to request_access_path(:return_path => request.fullpath)
redirect_to request_access_path(return_path: request.fullpath)
return false
end
end