show private, shared maps in All Maps

This commit is contained in:
Devin Howard 2016-11-08 15:11:24 -05:00
parent a176cdf231
commit d28bd1b62d

View file

@ -9,7 +9,7 @@ class ExploreController < ApplicationController
# GET /explore/active # GET /explore/active
def active def active
@maps = map_scope(Map.where.not(name: 'Untitled Map').where.not(permission: 'private')) @maps = map_scope(Map).where.not(name: 'Untitled Map')
respond_to do |format| respond_to do |format|
format.html do format.html do