From ac7bb206826dc74aea7d6566a49d781521d7c032 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Tue, 17 Apr 2012 20:35:27 +0300 Subject: [PATCH] fixed app crash on new issue via get --- app/views/issues/_form.html.haml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/app/views/issues/_form.html.haml b/app/views/issues/_form.html.haml index 2baf1bfe25d..2eb0908a9e7 100644 --- a/app/views/issues/_form.html.haml +++ b/app/views/issues/_form.html.haml @@ -1,9 +1,5 @@ %div.issue-form-holder %h3= @issue.new_record? ? "New Issue" : "Edit Issue ##{@issue.id}" - - unless request.xhr? - .back_link - = link_to project_issue_path(@project, @issue) do - ← back to show page = form_for [@project, @issue], :remote => request.xhr? do |f| -if @issue.errors.any? .alert-message.block-message.error