Refactored home/ordergroup.
This commit is contained in:
parent
1cf63fc40b
commit
2ee30fee16
4 changed files with 25 additions and 31 deletions
|
|
@ -62,11 +62,10 @@ class HomeController < ApplicationController
|
|||
:order => sort)
|
||||
respond_to do |format|
|
||||
format.html # myOrdergroup.haml
|
||||
format.js { render :partial => "finance/transactions/list" }
|
||||
format.js { render :layout => false }
|
||||
end
|
||||
else
|
||||
flash[:error] = "Leider bist Du kein Mitglied einer Bestellgruppe"
|
||||
redirect_to root_path
|
||||
redirect_to root_path, :alert => "Leider bist Du kein Mitglied einer Bestellgruppe"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue