From 980eb9f6bc2ecffd66a0500a78e7c5406843d49c Mon Sep 17 00:00:00 2001 From: Chrisbr Date: Mon, 12 May 2014 17:22:48 +0200 Subject: [PATCH] Changed not to exclamation mark --- app/controllers/application_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb index c4e269b9..cf114293 100644 --- a/app/controllers/application_controller.rb +++ b/app/controllers/application_controller.rb @@ -10,7 +10,7 @@ class ApplicationController < ActionController::Base def after_sign_in_path_for(resource) if session[:return_to] && - (not session[:return_to].start_with?(user_registration_path)) + !session[:return_to].start_with?(user_registration_path) logger.debug "Returning to #{session[:return_to]}" session[:return_to] else