Hey Shandy, use

match '', :to => 'agency#index'

or replace index with another agency controller action explicitly.

In order to solve the second problem we'd need your routes.rb file (please
use pastie.org or simple code formatting to make it easy to read.

2012/7/20 Colin Law <[email protected]>

> On 20 July 2012 16:24, Shandy Nantz <[email protected]> wrote:
> > Colin Law wrote in post #1069377:
> >> On 19 July 2012 17:19, Shandy Nantz <[email protected]> wrote:
> >>
> >> Is that not just
> >> root :to => "agency#index"
> >> assuming the action you want is index.  Unless I have forgotten how
> >> rails 2 routing worked.
> >>
> >> Colin
> >
> > That's what I thought, but I keep getting "No route matches [GET]
> > "/agency/login"" error, so I'm wonder if I have something else setup
> > incorrectly. Thanks for the response,
>
> What url are you using that gives that?
>
> Colin
>
> --
> 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 [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to