Skip to content

Commit

Permalink
Merge pull request activeadmin#1038 from gregbell/patch-1019
Browse files Browse the repository at this point in the history
Do not singularize model class name when generating resource
  • Loading branch information
gregbell committed Feb 22, 2012
2 parents 91afd09 + db0183d commit 82a13de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/active_admin/resource/templates/admin.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
ActiveAdmin.register <%= class_name.singularize %> do
ActiveAdmin.register <%= class_name %> do

end

0 comments on commit 82a13de

Please sign in to comment.