Skip to content

Commit

Permalink
Renamed the comments resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz Behr authored and pcreux committed Feb 18, 2012
1 parent c4e6b5d commit 9e1e8d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_admin/comments.rb
Expand Up @@ -20,7 +20,7 @@
ActiveAdmin::Event.subscribe ActiveAdmin::Application::LoadEvent do |app|
app.namespaces.values.each do |namespace|
if namespace.comments?
namespace.register ActiveAdmin::Comment, :as => I18n.t('active_admin.comments.title') do
namespace.register ActiveAdmin::Comment, :as => "Comment" do
actions :index, :show, :create

# Don't display in the menu
Expand Down

0 comments on commit 9e1e8d7

Please sign in to comment.