On Wed, 2006-08-30 at 16:39 -0400, Bradford R. Bowman wrote:
> # Redirect
> link = @weblog.output_entry_map[entry_id]
> full_link = "[EMAIL PROTECTED]/#{link[:page].link}"
> app.setup_redirection( 302, full_link )
I believe the standard approach is to use Weblog#expand_path in such an
instance, e.g.:
# Redirect
link = @weblog.output_entry_map[entry_id]
app.setup_redirection( 302, @weblog.expand_path( link[:page].link ) )
I've committed this to trunk; could you please svn up and give it a try?
-mental
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Hobix-is-the-way mailing list [email protected] http://rubyforge.org/mailman/listinfo/hobix-is-the-way
