Project

General

Profile

Feature #3033 ยป show_issue_number_after_create.patch

Wolfgang Schnerring, 2010-04-09 14:37

View differences:

app/controllers/issues_controller.rb (working copy)
153 153
      if @issue.save
154 154
        attachments = Attachment.attach_files(@issue, params[:attachments])
155 155
        render_attachment_warning_if_needed(@issue)
156
        flash[:notice] = l(:notice_successful_create)
156
        flash[:notice] = l(:notice_successful_create) \
157
            + " (<a href=\"#{url_for(:controller => 'issues', :action => 'show', :id => @issue)}\">##{@issue.id}</a>)"
157 158
        call_hook(:controller_issues_new_after_save, { :params => params, :issue => @issue})
158 159
        respond_to do |format|
159 160
          format.html {
    (1-1/1)