doc update [ci skip]

This commit is contained in:
wvengen 2013-11-07 20:46:01 +01:00
parent ffa994d759
commit ec85c1de44
3 changed files with 94 additions and 95 deletions

View file

@ -65,7 +65,7 @@ class GroupOrdersController < ApplicationController
private
# Returns true if @current_user is member of an Ordergroup.
# Used as a :before_filter by OrderingController.
# Used as a :before_filter by OrdersController.
def ensure_ordergroup_member
@ordergroup = @current_user.ordergroup
if @ordergroup.nil?