parent
baa32464cd
commit
63c82ed72f
1 changed files with 1 additions and 0 deletions
|
@ -50,6 +50,7 @@ class IssuesController < ApplicationController
|
|||
# Status Transistions
|
||||
def resolve
|
||||
if @issue.resolve
|
||||
@issue.updated_by = current_user.id
|
||||
@issue.save!
|
||||
redirect_to @issue, :notice => t(".resolved")
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue