Skip to content
Snippets Groups Projects
Commit 6792644a authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre
Browse files

Use present? instead of presence on Projects::IssuesController#index

parent 0e8dd599
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -26,7 +26,7 @@ class Projects::IssuesController < Projects::ApplicationController
@issues = issues_collection
@issues = @issues.page(params[:page])
 
if params[:label_name].presence
if params[:label_name].present?
@labels = LabelsFinder.new(current_user, project_id: @project.id, title: params[:label_name]).execute
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment