Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix for SuperUser => superuser

closes #720
  • Loading branch information...
commit 1ca095f8ae56d9f8fcdcfbe935ead99ea712aae5 1 parent 1c99efc
@bbenezech bbenezech authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/generators/rails_admin/utils.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.