Skip to content

Commit

Permalink
gitignore dev files
Browse files Browse the repository at this point in the history
  • Loading branch information
stepchud committed Nov 14, 2024
1 parent 20a50ed commit fc8b85d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,9 @@
/node_modules
/coverage/
/vars.*.yml

# dev env configuration files
.direnv/
.vscode/
.yarn/
.yarnrc
2 changes: 1 addition & 1 deletion app/controllers/submissions_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def submission_params
params.require(:submission).permit(:comments)
end

# User access enforced through their assigned challenge_manager_challenges
# User access enforced by role
def set_submission
@submission = Submission.by_user(current_user).find(params[:id])
end
Expand Down

0 comments on commit fc8b85d

Please sign in to comment.