Skip to content
New issue

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

token or empty string #8

Merged
merged 2 commits into from Feb 12, 2015
Merged

token or empty string #8

merged 2 commits into from Feb 12, 2015

Conversation

silppuri
Copy link
Contributor

Fixes bug when projects did not yet have flow-tokens

ActionView::Template::Error (can't convert Symbol into Integer):
    3: <% Project.active.each do |project| %>
    4: <p>
    5:   <%= content_tag(:label, project.name) %>
    6:   <%= text_field_tag("settings[api_token][#{project.identifier}]", @settings[:api_token][project.identifier]) %>
    7: </p>
    8: <% end %>
  app/views/settings/plugin.html.erb:6:in `block in _app_views_settings_plugin_html_erb__3383405472618272837_48057540'
  app/views/settings/plugin.html.erb:4:in `_app_views_settings_plugin_html_erb__3383405472618272837_48057540'

waltsu added a commit that referenced this pull request Feb 12, 2015
@waltsu waltsu merged commit 0ad239b into master Feb 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants