diff options
author | Joe Sak <joe@joesak.com> | 2011-03-11 14:23:44 -0600 |
---|---|---|
committer | Joe Sak <joe@joesak.com> | 2011-03-11 14:23:44 -0600 |
commit | 3748c1d9efabde0b62db7b92281c711c6411cfce (patch) | |
tree | 82f494d8cea40c009a70050c1a99491e58385612 /config | |
parent | b3f95341c3b67123084563bd38f9145b8ef4da78 (diff) | |
download | refinerycms-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')
-rw-r--r-- | config/locales/en.yml | 5 | ||||
-rw-r--r-- | config/routes.rb | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml index 357f4be..f5b5461 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -101,6 +101,8 @@ en: singular: comment none: no comments archives: Archives + tags: + title: "Tags" categories: show: no_posts: There are no posts here yet. @@ -122,7 +124,10 @@ en: add: Make a Comment other: Other Blog Posts filed_in: Filed in + tagged: Tagged submit: Send comment + tagged: + no_blog_articles_yet: There are no blog articles posted yet. Stay tuned. archive: blog_archive_for: 'Blog Archive for %{date}' no_blog_articles_posted: 'There are no blog articles posted for %{date}. Stay tuned.' 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 |