Commit 08d91e35 authored by Martin Markech's avatar Martin Markech
Browse files

fix url issue on nested path

parent dd01d76c
Refinery::Core::Engine.routes.draw do
match ":path/page/:page" => "pages#show", :as => :page
match ":path" => "pages#show", :as => :page , :page => 1
match "*path/page/:page" => "pages#show", :as => :page
match "*path" => "pages#show", :as => :page , :page => 1
namespace "photo_gallery", :path => '' do
namespace :admin, :path => 'refinery' do
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment