Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: 0-1-stable
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (14 sloc) 0.575 kb
Monologue::Engine.routes.draw do
root :to => "posts#index"
match "/page/:page", :to => "posts#index", :as => "posts_page"
match "/feed" => "posts#feed", :as => "feed", :defaults => {:format => :rss}
namespace :admin, :path => "monologue" do
get "/" => "posts#index", :as => "" # responds to admin_url and admin_path
get "logout" => "sessions#destroy"
get "login" => "sessions#new"
resources :sessions
resources :posts
get "comments" => "comments#show", :as => "comments"
end
match "*post_url" => "posts#show", :as => "post"
end
Jump to Line
Something went wrong with that request. Please try again.