patch.diff

Vincent Robert, 2017-07-04 10:29

Download (910 Bytes)

View differences:

app/controllers/application_controller.rb
502 502
  end
503 503

  
504 504
  # Handler for ActionView::MissingTemplate exception
505
  def missing_template
506
    logger.warn "Missing template, responding with 404"
505
  def missing_template(exception)
506
    logger.warn "Missing template, responding with 404: #{exception}"
507 507
    @project = nil
508 508
    render_404
509 509
  end
510
-