From 65b1fc8eae0427b0fde5029769c37af39192683f Mon Sep 17 00:00:00 2001 From: Connor Turland Date: Thu, 6 Oct 2016 23:44:50 -0400 Subject: [PATCH] Update main_controller.rb --- app/controllers/main_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/controllers/main_controller.rb b/app/controllers/main_controller.rb index 6350b9b5..38d9458c 100644 --- a/app/controllers/main_controller.rb +++ b/app/controllers/main_controller.rb @@ -8,7 +8,7 @@ class MainController < ApplicationController respond_to do |format| format.html do if authenticated? - @maps = policy_scope(Map).where.not(name: 'Untitled Map').where.not(permission: 'Private') + @maps = policy_scope(Map).where.not(name: 'Untitled Map').where.not(permission: 'private') .order(updated_at: :desc).page(1).per(20) render 'explore/active' else