We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In case of a localized app, where you use detault url options ending ?locale=de <dev-user-changer> is broken.
?locale=de
<dev-user-changer>
So in my app I patch it according to the definition in hobo_bootstrap / taglibs / nav.dryml by exchanging ?login with &login like so
hobo_bootstrap / taglibs / nav.dryml
?login
&login
<def tag="dev-user-changer"> <set user="&Hobo::Model::UserBase.default_user_model"/> <select-menu if="&user && Rails.env.development?" first-option="#{t('hobo.dev_user_changer.guest', {:default=>'Guest'})}" options="&user.all(:limit => 30).*.login" onchange="location.href = '#{dev_support_path :action=>:set_current_user}&login=' + encodeURIComponent(this.options[this.selectedIndex].value)" selected="#{current_user.login}" class="dev-user-changer" merge-attrs/> </def>
I'm not sure how the general case should be handled. Besides that minor issue, a fantastic gem!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In case of a localized app, where you use detault url options ending
?locale=de
<dev-user-changer>
is broken.So in my app I patch it according to the definition in
hobo_bootstrap / taglibs / nav.dryml
by exchanging?login
with&login
like soI'm not sure how the general case should be handled.
Besides that minor issue, a fantastic gem!
The text was updated successfully, but these errors were encountered: