Modified: branches/wf4ever/app/controllers/workflows_controller.rb (3238 => 3239)
--- branches/wf4ever/app/controllers/workflows_controller.rb 2012-12-06 14:01:34 UTC (rev 3238)
+++ branches/wf4ever/app/controllers/workflows_controller.rb 2012-12-06 14:02:04 UTC (rev 3239)
@@ -881,7 +881,8 @@
logger.debug("@viewing_version_number = address@hidden")
logger.debug("@workflow.image != nil = address@hidden != nil}")
else
- error("Workflow not found (id not authorized)", "is invalid (not authorized)", nil, 401)
+ error("Workflow #{params[:id]} not accessible, you are not authorized",
+ "not accessible (not authorized)", :id, 401)
return false
end
rescue ActiveRecord::RecordNotFound