aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2010-08-26 17:41:32 +1200
committerPhilip Arndt <parndt@gmail.com>2010-08-26 17:41:32 +1200
commit5cb85902866dfc0f64885a76ce38f23dd1f89d53 (patch)
treeb9d2110ee59a9bd301ba5648083f5138b17ed0f8 /config
parentda6b5e1f572960533f31026981df57f2d59d1b05 (diff)
downloadrefinerycms-blog-5cb85902866dfc0f64885a76ce38f23dd1f89d53.tar.gz
refinerycms-blog-5cb85902866dfc0f64885a76ce38f23dd1f89d53.tar.bz2
refinerycms-blog-5cb85902866dfc0f64885a76ce38f23dd1f89d53.zip
frontend markup and categories.
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml22
-rw-r--r--config/routes.rb4
2 files changed, 16 insertions, 10 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 3aef157..7263e70 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -4,6 +4,13 @@ en:
title: Blog
admin:
blog:
+ categories:
+ category:
+ edit: Edit this category
+ delete: Delete this category forever
+ comments:
+ index:
+ no_items_yet: There are no {{type}} comments yet.
posts:
form:
advanced_options: Advanced Options
@@ -15,9 +22,12 @@ en:
view_live: View this blog post live <br/><em>(opens in a new window)</em>
edit: Edit this blog post
delete: Remove this blog post forever
- comments:
- index:
- no_items_yet: There are no {{type}} comments yet.
+ settings:
+ notification_recipients:
+ value: Send notifications to
+ explanation: "Every time someone comments on a blog post, Refinery sends out an email to say there is a new comment."
+ hint: "When a new comment is added, Refinery will send an email notification to you."
+ example: "Enter your email address(es) like: jack@work.com, jill@office.com"
submenu:
categories:
title: Categories
@@ -37,12 +47,6 @@ en:
title: Settings
moderation: Moderation
update_notified: Update who gets notified
- settings:
- notification_recipients:
- value: Send notifications to
- explanation: "Every time someone comments on a blog post, Refinery sends out an email to say there is a new comment."
- hint: "When a new comment is added, Refinery will send an email notification to you."
- example: "Enter your email address(es) like: jack@work.com, jill@office.com"
blog_posts:
show:
other: Other Blog Posts \ No newline at end of file
diff --git a/config/routes.rb b/config/routes.rb
index 2478f1b..36e80f9 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -1,5 +1,7 @@
ActionController::Routing::Routes.draw do |map|
- map.resources :blog_posts, :as => :blog
+ map.blog_post '/blog', :controller => :blog_posts, :action => :index
+ map.blog_post '/blog/:id', :controller => :blog_posts, :action => :show
+ map.blog_category '/blog/categories/:category_id', :controller => :blog_posts, :action => :index
map.namespace(:admin, :path_prefix => 'refinery') do |admin|
admin.namespace :blog do |blog|