diff options
author | Steffen van Bergerem <svbergerem@online.de> | 2014-09-01 19:11:56 +0400 |
---|---|---|
committer | Steffen van Bergerem <svbergerem@online.de> | 2014-09-01 19:11:56 +0400 |
commit | ba0bccbef186964e0e01fa2d50966026649fb3d9 (patch) | |
tree | 9fa3e702738958d023e43a41c90a6e2e18d900dc /app | |
parent | 1a5bcec39473fc00eedfd4a8aec638bc752f08fc (diff) |
Redirect conversations/new to conversations
Diffstat (limited to 'app')
-rw-r--r-- | app/controllers/conversations_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/conversations_controller.rb b/app/controllers/conversations_controller.rb index 5713a2af5..7a175d315 100644 --- a/app/controllers/conversations_controller.rb +++ b/app/controllers/conversations_controller.rb @@ -84,7 +84,7 @@ class ConversationsController < ApplicationController end def new - if !params[:facebox] && session[:mobile_view] == false && request.format.html? + if !params[:facebox] && !session[:mobile_view] && request.format.html? redirect_to conversations_path return end |