Sha256: b128459fc7220e03941a3fe80255f3d7dddf6c5fcfc847e64ecc2339b1677087
Contents?: true
Size: 1.43 KB
Versions: 1
Compression:
Stored size: 1.43 KB
Contents
ActionController::Routing::Routes.draw do |map| map.connect '', :controller => 'post', :action => 'index' map.connect ':user/:slug/view', :controller => 'post', :action => 'view' map.connect ':year/:month/:day', :controller => 'post', :action => 'range', :year => /\d{4}/, :month => /\d{1,2}/, :day => /\d{1,2}/, :defaults => {:month => nil, :day => nil} map.connect ':user/:year/:month/:day', :controller => 'post', :action => 'range', :year => /\d{4}/, :month => /\d{1,2}/, :day => /\d{1,2}/, :defaults => {:month => nil, :day => nil } map.connect ':user/rss', :controller => 'rss', :action => 'feed' map.connect ':user/atom', :controller => 'atom', :action => 'feed' map.connect 'rss/master', :controller => 'rss', :action => 'feed' map.connect 'atom/master', :controller => 'atom', :action => 'feed' map.connect 'tag/:tag', :controller => 'tags', :action => 'show' map.connect ':user/:slug/reply', :controller => 'post', :action => 'reply' map.connect ':user/:slug/comment/:id/reply', :controller => 'post', :action => 'reply' map.connect ':user/:slug/tag', :controller => 'post', :action => 'tag' map.connect 'drafts', :controller => 'draft', :action => 'list' map.connect 'me', :controller => 'account', :action => 'info' map.connect 'links', :controller => 'link', :action => 'index' map.connect 'css', :controller => 'css', :action => 'edit' map.connect ':controller/:action/:id' end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
EliteJournal-1.9.480 | config/routes.rb |