aboutsummaryrefslogtreecommitdiffstats
path: root/config/routes.rb
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2011-03-11 14:23:44 -0600
committerJoe Sak <joe@joesak.com>2011-03-11 14:23:44 -0600
commit3748c1d9efabde0b62db7b92281c711c6411cfce (patch)
tree82f494d8cea40c009a70050c1a99491e58385612 /config/routes.rb
parentb3f95341c3b67123084563bd38f9145b8ef4da78 (diff)
downloadrefinerycms-blog-3748c1d9efabde0b62db7b92281c711c6411cfce.tar.gz
refinerycms-blog-3748c1d9efabde0b62db7b92281c711c6411cfce.tar.bz2
refinerycms-blog-3748c1d9efabde0b62db7b92281c711c6411cfce.zip
Closes GH-29. Blog posts act as taggable. rspec & cukes passing
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index e37987a..421e845 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -6,6 +6,7 @@ Refinery::Application.routes.draw do
match 'categories/:id', :to => 'categories#show', :as => 'blog_category'
match ':id/comments', :to => 'posts#comment', :as => 'blog_post_blog_comments'
get 'archive/:year(/:month)', :to => 'posts#archive', :as => 'archive_blog_posts'
+ get 'tagged/:tag_name' => 'posts#tagged', :as => 'tagged_posts'
end
scope(:path => 'refinery', :as => 'admin', :module => 'admin') do