Permalink
Browse files

debug message

  • Loading branch information...
1 parent c55025a commit 1ab3b2675fba763903cb5814a9b136caa227ba89 @alegomes committed Mar 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/controllers/orgaos_controller.rb
@@ -61,7 +61,7 @@ def update
@orgao = Orgao.find(params[:id])
@orgao.siorg = Siorg.find_by_codigo(params[:codigo_siorg])
@orgao.modified_by = current_user
-
+ puts "Orgao modified by #{current_user}"
respond_to do |format|
if @orgao.update_attributes(params[:orgao])
format.html { redirect_to @orgao, notice: 'Orgao was successfully updated.' }

0 comments on commit 1ab3b26

Please sign in to comment.