Permalink
Browse files

Fix for SuperUser => superuser

closes #720
  • Loading branch information...
1 parent 1c99efc commit 1ca095f8ae56d9f8fcdcfbe935ead99ea712aae5 @bbenezech bbenezech committed Sep 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/generators/rails_admin/utils.rb
@@ -9,7 +9,7 @@ def display(output, color = :green)
def ask_for(wording, default_value = nil, override_if_present_value = nil)
override_if_present_value.present? ?
display("Using [#{override_if_present_value}] for question '#{wording}'") && override_if_present_value :
- ask(" ? #{wording} Press <enter> for [#{default_value}] >", :yellow).presence.try(:parameterize) || default_value
+ ask(" ? #{wording} Press <enter> for [#{default_value}] >", :yellow).presence || default_value
end
end

0 comments on commit 1ca095f

Please sign in to comment.