Browse files

Bugfix to get issue_statuses controller working.

  • Loading branch information...
1 parent f5c9315 commit cb467c2bb71f29c580e0f391a46cf7386290188c @kurko kurko committed Nov 8, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 app/views/issue_statuses/issue_closed_list.html.erb
  2. +1 −1 lib/issue_closed.rb
View
2 app/views/issue_statuses/issue_closed_list.html.erb
@@ -51,7 +51,7 @@
<option value="<%= status.id %>" <%= status.state ? 'selected="selected"' : '' %>><%= status.name %></option>
<% end %>
</select>
- <input type="submit"></submit>
+ <input type="submit" />
<% end %>
</fieldset>
<style type="text/css" media="screen">
View
2 lib/issue_closed.rb
@@ -16,7 +16,7 @@ def self.included base
alias_method :_index, :index unless method_defined? :_index
def index
- list
+ _index
render :template => 'issue_statuses/issue_closed_list' unless request.xhr?
end

0 comments on commit cb467c2

Please sign in to comment.