[Instantrails-users] Now this should be an instant rails question...
maxsteel at gmail.com
Sun Jan 22 03:57:41 EST 2006
now i get an index of / (whick looks like the contents of /www)
i'll have to check out that book for sure..
guess i thought that this part should have been the simpler one?
On 1/21/06, David Morton <mortonda at dgrmm.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> MaxSteel wrote:
> > I am now ready to put my site to the public (well private) users.
> > Whenever I go to the url, the only thing that gets displayed is the
> > "Coming Soon" page.
> > I've figured it out that that's the index.html in the /www dir.
> > How do I get it to point to my cookbook site?
> Look at the typo app for help: remove the index.html page, and then in your
> config/routes.rb, add:
> # default
> map.index '', :controller => 'articles', :action => 'index'
> but replace your own controller and action.
> I'd highly recommend buying the book, "Agile Web Development with Rails", it
> goes over this and several of your other questions. It's worth its weight in gold.
> - --
> David Morton
> Maia Mailguard - http://www.maiamailguard.com
> Morton Software Design and Consulting - http://www.dgrmm.net
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.2 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> -----END PGP SIGNATURE-----
> Instantrails-users mailing list
> Instantrails-users at rubyforge.org
More information about the Instantrails-users