add: require profile completed

This commit is contained in:
2021-08-31 18:00:54 +08:00
parent 5b7f8e8da6
commit c52458a7e3
12 changed files with 15 additions and 0 deletions

View File

@@ -1,5 +1,6 @@
class ForksController < ApplicationController
before_action :require_login
before_action :require_profile_completed, only: [:create]
before_action :load_project
before_action :authenticate_project!, :authenticate_user!