Modified: trunk/app/controllers/workflows_controller.rb (3237 => 3238)
--- trunk/app/controllers/workflows_controller.rb 2012-12-06 12:35:37 UTC (rev 3237)
+++ trunk/app/controllers/workflows_controller.rb 2012-12-06 14:01:34 UTC (rev 3238)
@@ -788,7 +788,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