notebook/app/controllers/content_controller.rb
2015-09-01 20:28:24 -05:00

6 lines
168 B
Ruby

class ContentController < ApplicationController
include HasOwnership
before_action :create_anonymous_account_if_not_logged_in, only: [:edit, :create, :update]
end