fix activemaps_path url bug

This commit is contained in:
Devin Howard 2016-06-19 16:56:39 +08:00
parent 1f9078638e
commit 498a9bc15b

View file

@ -39,7 +39,7 @@ class MapsController < ApplicationController
# GET /explore/mine # GET /explore/mine
def mymaps def mymaps
return redirect_to activemaps_url if !authenticated? return redirect_to explore_active_path if !authenticated?
page = params[:page].present? ? params[:page] : 1 page = params[:page].present? ? params[:page] : 1
@maps = policy_scope( @maps = policy_scope(