]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/issue_comments_controller.rb
Merge remote-tracking branch 'upstream/pull/3778'
[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")