typo
This commit is contained in:
parent
7956e6d289
commit
005250f330
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ class MapsController < ApplicationController
|
|||
|
||||
@current = current_user
|
||||
@maps = []
|
||||
page = params[:page].present ? params[:page] : 1
|
||||
page = params[:page].present? ? params[:page] : 1
|
||||
|
||||
if request.path.index("/explore/active") != nil
|
||||
@maps = Map.where("maps.permission != ?", "private").order("updated_at DESC").page(page).per(20)
|
||||
|
|
Loading…
Reference in a new issue