Skip to content

Commit

Permalink
Merge pull request #1961 from howaboutwe/1960_pluralize_generated_adm…
Browse files Browse the repository at this point in the history
…in_user

Pluralize the example admin_users model to be consistent
  • Loading branch information
macfanatic committed Mar 4, 2013
2 parents 3e68568 + 55213c0 commit 0285187
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/generators/active_admin/install/install_generator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ def setup_directory
template 'dashboard.rb', 'app/admin/dashboard.rb'
if options[:users].present?
@user_class = name
template 'admin_user.rb.erb', "app/admin/#{name.underscore}.rb"
template 'admin_user.rb.erb', "app/admin/#{name.underscore.pluralize}.rb"
end
end

Expand Down

0 comments on commit 0285187

Please sign in to comment.