diff options
author | Philip Arndt <p@arndt.io> | 2014-02-02 22:31:09 -0800 |
---|---|---|
committer | Philip Arndt <p@arndt.io> | 2014-02-02 22:31:09 -0800 |
commit | a6ec37c7f54660d34a6b6f1496fea9f825543cc7 (patch) | |
tree | 57286eb5a09e4742c2400619b76cf507771d3d7e /config | |
parent | d891009d8b26cbccfc7fcdec645e1e2382c641bc (diff) | |
parent | 320275b324a8c0cb3e46a10ea43b1391ee86c874 (diff) | |
download | refinerycms-blog-a6ec37c7f54660d34a6b6f1496fea9f825543cc7.tar.gz refinerycms-blog-a6ec37c7f54660d34a6b6f1496fea9f825543cc7.tar.bz2 refinerycms-blog-a6ec37c7f54660d34a6b6f1496fea9f825543cc7.zip |
Merge pull request #368 from refinery/rails4
Rails 4 support.
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 |