Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
relf committed Oct 3, 2020
1 parent 4ff2f56 commit 0e4e383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/api/v1/analyses_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def index
@mdas = @mdas.joins(design_project_filing: :design_project)
.where(design_projects: {name: params["design_project_query"]})
else
@mdas.with_role(:owner, current_user)
@mdas = @mdas.with_role(:owner, current_user)
end
json_response @mdas, :ok, each_serializer: AnalysisItemSerializer
end
Expand Down

0 comments on commit 0e4e383

Please sign in to comment.