]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/issue_comments_controller.rb
Bump osm-community-index from 5.3.1 to 5.4.0
[rails.git] / app / controllers / issue_comments_controller.rb
index a4bb6a5ed15af00df5bd0b60132cdfc67461681e..7b935665f5bd4b1e86c3bc1e2a5ee6966eec3dbb 100644 (file)
@@ -19,7 +19,7 @@ class IssueCommentsController < ApplicationController
       if current_user.has_role? @issue.assigned_role
         redirect_to @issue
       else
-        redirect_to issues_path
+        redirect_to issues_path(:status => "open")
       end
     else
       flash[:notice] = t(".comment_created")