Skip to content

Commit

Permalink
solve code climate problem
Browse files Browse the repository at this point in the history
  • Loading branch information
Guilherme-NL committed Oct 27, 2023
1 parent 54ed1df commit daaed0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/beta/projects_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ class Beta::ProjectsController < ApplicationController
def show
project_slug = params[:id]
@project = current_user.projects.friendly.find project_slug
@project_id = @project.id
@project_id = @project.id

authorize @project, policy_class: Beta::ProjectPolicy
update_current_team
Expand Down

0 comments on commit daaed0c

Please sign in to comment.