Refactored home/ordergroup.

This commit is contained in:
benni 2011-05-16 11:00:52 +02:00
parent 1cf63fc40b
commit 2ee30fee16
4 changed files with 25 additions and 31 deletions

View file

@ -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