[Instantrails-users] Create a virtual host using Instant Rails 1.7
udaikudikyala at gmail.com
Fri May 25 09:34:18 EDT 2007
Thanks for pointing me in the right direction.
The cookbook application is using the default index.html page to redirect
to the required URL.
The Typo application is actually using rails routing (config/routes.rb) to
invoke the controller and the action.
Well both mechanisms work.
I really appreciate your help.
On 5/24/07, David Morton <mortonda at dgrmm.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On May 24, 2007, at 4:51 PM, udai kudikyala wrote:
> > Now, the cookbook application seems to be redirecting to
> > http://www.mycookbook.com/recipe/list by just typing the URL
> > http://www.mycookbook.com
> > This is not hapenning with my application though. I don't undersand.
> > Any help is appreciated.
> > Thanks again for your help.
> That's the correct behavior. You have to specify the default action
> via Rail's routes mechanism. Look in the config/routes.rb for one of
> the other applications, or look for docs on rails routing.
> David Morton
> Maia Mailguard http://www.maiamailguard.com
> mortonda at dgrmm.net
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
> -----END PGP SIGNATURE-----
> Instantrails-users mailing list
> Instantrails-users at rubyforge.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Instantrails-users