Removed acts_as_ordered. Fixed bug in group_orders archive.
This commit is contained in:
parent
eb532babd6
commit
92649d3053
23 changed files with 3 additions and 822 deletions
|
|
@ -58,8 +58,8 @@ class GroupOrdersController < ApplicationController
|
|||
:conditions => { :state => 'closed' }, :order => "orders.ends DESC"
|
||||
|
||||
respond_to do |format|
|
||||
format.html # myOrders.haml
|
||||
format.js { render :partial => "orders", :locals => {:orders => @closed_orders, :pagination => true} }
|
||||
format.html # archive.html.haml
|
||||
format.js # archive.js.erb
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue