Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

allow a Pathname for render :file

#2220

This patch allows Pathnames to be passed to render :file


render :file => Rails.root.join("public", "meaning_of_life.html")

Reported by Trent Ogren · March 12th, 2009 @ 12:45 PM

State: resolved
Milestone: 2.x
Assigned to: josh josh
Importance: none

Activity

  1. brad_werth
  2. Pratik
    Pratik
    • Assigned user set to josh

    March 13th, 2009 @ 11:22 AM

  3. Repository
    Repository
    • State changed from new to resolved

    (from [7706b57034e91820cf83445aede57c54ab66ac2d]) allowed render :file to take Pathnames [#2220 state:resolved]

    Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...

    March 14th, 2009 @ 03:42 PM