[typo] Another Frustrating Dreamhost/Rails/Typo experience
Scott Hughes (List)
shughes_list at globalreset.org
Tue Sep 6 23:37:04 EDT 2005
On Sep 6, 2005, at 10:30 PM, Justus Pendleton wrote:
>
> You can change it in config/routes.rb. Look for the line:
> map.connect 'pages/*name',:controller => 'articles', :action =>
> 'view_page'
>
> and change it from pages to mypages or whatever you prefer. The
> name of the controller in this instance is actually "articles". If
> you ever update your typo install this change'll probably get
> overwritten.
Here's a code snippet I happened upon (while searching for something
unrelated) which shows how to do this:
http://www.bigbold.com/snippets/posts/show/536
Scott Hughes
http://blog.globlareset.org/
More information about the Typo-list
mailing list