Displaying 2 results from an estimated 2 matches for "my_route_url".
2006 Aug 16
0
Parse Rails routes in a text in a DB?
Hi all
Is there a way to parse routes of Rails within a text in a DB? E.g.
"This is some very great text in a database! You can edit it here: <%=
my_route_url :action => ''edit'', :id => 123 %>!"
Thanks for infos.
Josh
--
Posted via http://www.ruby-forum.com/.
2006 Jun 14
0
named routes in mailer templates
Hi all,
Is it possible to use named routes in mailer
templates? If so how do I accomplish it?
I''ve got a named route my_route that I can use with a
controller template via my_route_url but I try the
same thing in a mailer template and it''s a no go.
Thanks,
Brent
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com