Created
January 12, 2012 14:32
-
-
Save ugisozols/1600844 to your computer and use it in GitHub Desktop.
Refinery::Blog routes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Refinery::Core::Engine.routes.draw do | |
# frontend | |
namespace :blog do | |
root :to => "posts#index" | |
resources :posts | |
end | |
# backend | |
namespace :blog, :path => "" do | |
namespace :admin, :path => "refinery/blog" do | |
root :to => "posts#index" | |
resources :posts | |
end | |
end | |
end | |
# refinery.blog_posts_path - frontend | |
# refinery.blog_admin_posts_path - backend |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am getting up to speed on the code, but I'm afraid this might be too comprehensive a change for me to be very helpful. I'm not pushing just asking, and I'm happy to help where I can.