Skip to content

Commit

Permalink
Merge pull request #1049 from mdeniz/fix_subprojects_bug_in_project_c…
Browse files Browse the repository at this point in the history
…ontroller

[webui] Fix bug accessing subprojects relationship of project
  • Loading branch information
hennevogel committed Aug 19, 2015
2 parents b32ae75 + 7293dc2 commit ee1061f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/api/app/controllers/webui/project_controller.rb
Expand Up @@ -1432,5 +1432,6 @@ def move_path(direction)

def set_project
@project = Project.find_by(name: params[:project])
raise ActiveRecord::RecordNotFound unless @project
end
end

0 comments on commit ee1061f

Please sign in to comment.