1 class UserAgreementsController < ApplicationController
2 skip_before_filter :check_user_agreements
3 skip_before_filter :find_object_by_uuid
10 params[:checked].each do |checked|
11 if r = checked.match(/^([0-9a-f]+[^\/]*)/)
12 UserAgreement.sign uuid: r[1]
16 redirect_to(params[:return_to] || :back)