diff options
Diffstat (limited to 'config')
-rw-r--r-- | config/locales/en.yml | 18 | ||||
-rw-r--r-- | config/routes.rb | 6 |
2 files changed, 23 insertions, 1 deletions
diff --git a/config/locales/en.yml b/config/locales/en.yml index 1c00495..f137f30 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -11,8 +11,22 @@ en: index: no_items_yet: There are no categories yet. Click "{{create}}" to add your first category. comments: + approved: The comment from '{{author}}' has been approved. + rejected: The comment from '{{author}}' has been rejected. index: - no_items_yet: There are no {{type}} comments yet. + no_items_yet: There are no {{type}} comments. + show: + comment: Comment + blog_post: Blog Post + from: Posted by + date: Posted at + message: Comment + details: Details + age: Age + actions: Actions + back: Back to all comments + reject: Reject this comment + approve: Approve this comment posts: form: advanced_options: Advanced Options @@ -59,6 +73,8 @@ en: title: Comments by: Posted by {{who}} time_ago: '{{time}} ago' + thank_you: 'Thank you for commenting.' + thank_you_moderated: 'Thank you for commenting. Your message has been placed in the moderation queue and will appear shortly.' other: Other Blog Posts filed_in: Filed in created_at_title: Publishing Date diff --git a/config/routes.rb b/config/routes.rb index fabb925..ce4a2ef 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -8,11 +8,17 @@ if Rails.version < '3.0.0' map.namespace(:admin, :path_prefix => 'refinery') do |admin| admin.namespace :blog do |blog| blog.resources :posts + blog.resources :categories + blog.resources :comments, :collection => { :approved => :get, :rejected => :get + }, :member => { + :approved => :get, + :rejected => :get } + blog.resources :settings, :collection => { :notification_recipients => [:get, :post], :moderation => :get |