URL aliasing

Naresh Rana
Wed, 06 Feb 2008 05:23:07 -0000

Hi all,

I have used url aliasing on my site. say suppose my url is

domain/blog/1 to domain/blog/1/title in this i have succeded to redirect
the url to a particular blog on its id with blog title, by defining the
routes

  map.blog ''blog/edit/:id/:title'', :id=>
''id'', :controller => ''blog'',
:action => ''show''

when i edit a particular blog it is giving me this error like

Couldn''t find Service with ID=update

means it is not getting the id for tht blog, so wht should i define in
controller or in routes so tht i can take id of tht blog with title,
?????//>???

any help would be appreciated,

Thanks a lot

Naresh Rana
--
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---