diff --git a/app/controllers/content_controller.rb b/app/controllers/content_controller.rb index 70310406..6379fa5e 100644 --- a/app/controllers/content_controller.rb +++ b/app/controllers/content_controller.rb @@ -1,6 +1,7 @@ class ContentController < ApplicationController include HasOwnership + before_action :authenticate_user!, only: [:new, :create, :edit, :update, :destroy] # TODO: put a lot of this in ContentManagementService