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,4 +1,5 @@
class Projects::ProjectAppliesController < Projects::BaseController
before_action :require_profile_completed, only: [:create]
def create
project = Projects::ApplyJoinService.call(current_user, create_params)
render_ok(project_id: project.id)