lib/casserver/controllers.rb in gunark-rubycas-server-0.8.0.20090227 vs lib/casserver/controllers.rb in gunark-rubycas-server-0.8.0.20090427

- old
+ new

@@ -290,11 +290,11 @@ st, @error = validate_service_ticket(@service, @ticket) @success = st && !@error @username = st.username if @success - @status = response_status_from_error(@error) if @error + @status = CASServer::Controllers.response_status_from_error(@error) if @error render :validate end end @@ -323,11 +323,11 @@ @pgtiou = pgt.iou if pgt end @extra_attributes = st.ticket_granting_ticket.extra_attributes || {} end - @status = response_status_from_error(@error) if @error + @status = CASServer::Controllers.response_status_from_error(@error) if @error render :service_validate end end @@ -365,11 +365,11 @@ end @extra_attributes = t.ticket_granting_ticket.extra_attributes || {} end - @status = response_status_from_error(@error) if @error + @status = CASServer::Controllers.response_status_from_error(@error) if @error render :proxy_validate end end @@ -389,10 +389,10 @@ if @success @pt = generate_proxy_ticket(@target_service, pgt) end - @status = response_status_from_error(@error) if @error + @status = CASServer::Controllers.response_status_from_error(@error) if @error render :proxy end end