Skip to content

Commit

Permalink
[webui] Fix bug accessing subprojects relationship of project that's …
Browse files Browse the repository at this point in the history
…not loaded
  • Loading branch information
Moisés Déniz Alemán committed Aug 19, 2015
1 parent bf701fe commit 7293dc2
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 7293dc2

Please sign in to comment.