aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorPhilip Arndt <parndt@gmail.com>2010-08-10 16:17:03 +1200
committerPhilip Arndt <parndt@gmail.com>2010-08-10 16:17:03 +1200
commita6b6a0da3477719e0109ad6175b16f04d37b2550 (patch)
tree3adf9305d598bb8764b24f30abb827dc6b64949e /config
parent2e2b8bc9ba728091a58b93af6d72a34d9707cba7 (diff)
downloadrefinerycms-blog-a6b6a0da3477719e0109ad6175b16f04d37b2550.tar.gz
refinerycms-blog-a6b6a0da3477719e0109ad6175b16f04d37b2550.tar.bz2
refinerycms-blog-a6b6a0da3477719e0109ad6175b16f04d37b2550.zip
Better settings, update notified has a form but doesn't yet work. Created script files but not using them yet.
Diffstat (limited to 'config')
-rw-r--r--config/locales/en.yml6
-rw-r--r--config/routes.rb10
2 files changed, 14 insertions, 2 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 169cd8d..6ee7b59 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -34,6 +34,12 @@ 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 7f1bf18..2478f1b 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -5,8 +5,14 @@ ActionController::Routing::Routes.draw do |map|
admin.namespace :blog do |blog|
blog.resources :posts
blog.resources :categories
- blog.resources :comments, :collection => {:approved => :get, :rejected => :get}
- blog.resources :settings, :collection => {:update_notified => [:get, :post], :moderation => :get}
+ blog.resources :comments, :collection => {
+ :approved => :get,
+ :rejected => :get
+ }
+ blog.resources :settings, :collection => {
+ :notification_recipients => [:get, :post],
+ :moderation => :get
+ }
end
end
end