Skip to content
This repository has been archived by the owner on Jan 8, 2019. It is now read-only.

Fix URL in settings tab #51

Merged
merged 2 commits into from Jul 14, 2011
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
8 changes: 4 additions & 4 deletions app/views/settings/index.html.erb
Expand Up @@ -14,7 +14,7 @@

<div class="setting">
<h4><label>Message length</h4>
<%= form_tag '/settings/store' do -%>
<%= form_tag store_settings_path do -%>
<%= hidden_field_tag 'setting_type', Setting::TYPE_MESSAGE_LENGTH %>
<%= text_field_tag 'value', Setting.get_message_length(current_user) %>
<%= awesome_submit_link 'Store' %>
Expand All @@ -25,7 +25,7 @@

<div class="setting">
<h4><label>Message count interval</label></h4>
<%= form_tag '/settings/store' do -%>
<%= form_tag store_settings_path do -%>
<%= hidden_field_tag 'setting_type', Setting::TYPE_MESSAGE_COUNT_INTERVAL %>
<%= text_field_tag 'value', Setting.get_message_count_interval(current_user) %>
<%= awesome_submit_link 'Store' %>
Expand All @@ -36,7 +36,7 @@

<div class="setting">
<h4><label>Maximum messages</label></h4>
<%= form_tag '/settings/store' do -%>
<%= form_tag store_settings_path do -%>
<%= hidden_field_tag 'setting_type', Setting::TYPE_MESSAGE_MAX_COUNT %>
<%= text_field_tag 'value', Setting.get_message_max_count(current_user) %>
<%= awesome_submit_link 'Store' %>
Expand All @@ -50,7 +50,7 @@
<% if Configuration.livetail_enabled %>
<div class="setting">
<h4><label>Live tail message history</label></h4>
<%= form_tag '/settings/store' do -%>
<%= form_tag store_settings_path do -%>
<%= hidden_field_tag 'setting_type', Setting::TYPE_LIVETAIL_ROW_COUNT %>
<%= text_field_tag 'value', Setting.get_livetail_row_count(current_user) %>
<%= awesome_submit_link 'Store' %>
Expand Down