diff options
author | Philip Arndt <p@arndt.io> | 2013-09-14 10:00:42 +1200 |
---|---|---|
committer | Philip Arndt <p@arndt.io> | 2013-09-16 04:56:47 +1200 |
commit | a8b5bce609089af8795768230c7dd3a9b87cd5e0 (patch) | |
tree | 22a2a154da2b48988c9c4e05600e52fa1b884bf1 /config | |
parent | 5ae082d79e554d3449083aa70ef64ef5d677759a (diff) | |
download | refinerycms-blog-a8b5bce609089af8795768230c7dd3a9b87cd5e0.tar.gz refinerycms-blog-a8b5bce609089af8795768230c7dd3a9b87cd5e0.tar.bz2 refinerycms-blog-a8b5bce609089af8795768230c7dd3a9b87cd5e0.zip |
Supported Rails 4 and Refinery 3.0.0.dev
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index ad4db70..8a7ae27 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -3,9 +3,9 @@ Refinery::Core::Engine.routes.draw do root :to => "posts#index" resources :posts, :only => [:show] - match 'feed.rss', :to => 'posts#index', :as => 'rss_feed', :defaults => {:format => "rss"} - match 'categories/:id', :to => 'categories#show', :as => 'category' - match ':id/comments', :to => 'posts#comment', :as => 'comments' + get 'feed.rss', :to => 'posts#index', :as => 'rss_feed', :defaults => {:format => "rss"} + get 'categories/:id', :to => 'categories#show', :as => 'category' + post ':id/comments', :to => 'posts#comment', :as => 'comments' get 'archive/:year(/:month)', :to => 'posts#archive', :as => 'archive_posts' get 'tagged/:tag_id(/:tag_name)' => 'posts#tagged', :as => 'tagged_posts' end |