From f3358ec20ba9dd9a21bad29361a67f53ea6f0bc8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Sede=C3=B1o?= Date: Thu, 7 Dec 2017 11:28:39 +0100 Subject: [PATCH] Fix incorrect use in if --- app/controllers/conferences_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/conferences_controller.rb b/app/controllers/conferences_controller.rb index 38d1b2b7..be06341b 100644 --- a/app/controllers/conferences_controller.rb +++ b/app/controllers/conferences_controller.rb @@ -9,7 +9,7 @@ class ConferencesController < ApplicationController redirect_to @current.first if @current.count == 1 and @current.first.splashpage and - @current.first.splashpage.public==true + @current.first.splashpage.public end