Ticket #437 (closed defect: fixed)

Opened 9 months ago

Last modified 9 months ago

[PATCH] fix format_extension to act as the documentation says it does

Reported by: chr..@oxdi.eu Assigned to:
Priority: medium Milestone: 0.5.1
Component: Merb Keywords: format url extension
Cc:

Description

I think I may have even written some of this originally, I'm not sure.... but anyway the documentation for format_extension says that setting :use_format_in_urls: in merb.yml would for the url helper to generate urls with a default format extension (HTML) all the time.

This was not happening. In fact if you set this option it would just error.

This patch fixes, and makes the code a little easier to read.

Attachments

fix_format_extension.diff (1.2 kB) - added by chr..@oxdi.eu on 01/11/08 03:45:06.
fix for format_extension

Change History

01/11/08 03:45:06 changed by chr..@oxdi.eu

  • attachment fix_format_extension.diff added.

fix for format_extension

01/11/08 19:20:49 changed by iv..@gweezlebur.com

  • status changed from new to closed.
  • resolution set to fixed.

(In [1284]) fix format_extension / Closes #437 / Thanks chris