aboutsummaryrefslogtreecommitdiff
path: root/app/controllers/resources_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/resources_controller.rb')
-rw-r--r--app/controllers/resources_controller.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/controllers/resources_controller.rb b/app/controllers/resources_controller.rb
index 1cccafa..04d4e70 100644
--- a/app/controllers/resources_controller.rb
+++ b/app/controllers/resources_controller.rb
@@ -40,6 +40,9 @@ class ResourcesController < ApplicationController
def edit
# TODO Add a moderation queue for unauthorized but valid changes
flash.now[:notice] = 'Please ask an editor or a maintainer to edit this resource!' unless (current_user_editor? || current_user_maintainer?)
+
+
+ Rails.logger.info "EDIT: #{@resource.uuid} #{@resource.name} // #{current_agent.id}"
end
# PATCH /resources/:id