Project

General

Profile

Defect #1027 » issues_controller.diff

Thomas Löber, 2008-04-09 19:49

View differences:

app/controllers/issues_controller.rb (working copy)
345 345
  
346 346
  def preview
347 347
    @issue = @project.issues.find_by_id(params[:id]) if params[:id]
348
    @attachements = issue.attachments if @issue
348
    @attachements = @issue.attachments if @issue
349 349
    @text = params[:notes] || (params[:issue] ? params[:issue][:description] : nil)
350 350
    render :partial => 'common/preview'
351 351
  end
    (1-1/1)