Preparing 591 for merge. Restyled issues & merge requests. Fixed issue edit.
This commit is contained in:
parent
b1d89f732c
commit
8652cd8989
9 changed files with 79 additions and 89 deletions
|
@ -80,7 +80,13 @@ class IssuesController < ApplicationController
|
|||
|
||||
respond_to do |format|
|
||||
format.js
|
||||
format.html { redirect_to [@project, @issue]}
|
||||
format.html do
|
||||
if @issue.valid?
|
||||
redirect_to [@project, @issue]
|
||||
else
|
||||
render :edit
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue