mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Require users to be logged in to do anything other than show public content
This commit is contained in:
parent
7e3e6a329d
commit
a5dfe24481
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user