Re: Writing new controllers

veejar
Tue, 02 Sep 2008 13:25:03 -0000

But I write not new route. I write new controller.

On 2 сент, 16:19, "Staf Wagemakers"
<staf.wagemak...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:
> routes.rb is cached for performance reasons, this might be the problem....
>
> --
> Staf Wagemakers -http://www.wagemakers.be
>
> 2008/9/2 veejar <veejar....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
>
>
>
> > But why? It''s inconveniently!
>
> > On 2 сент, 15:56, "Staf Wagemakers"
<staf.wagemak...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> > > On Tue, Sep 2, 2008 at 2:50 PM, veejar
<veejar....-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
>
> > > > I work in development-mode.
> > > > My routes.rb:
> > > > ------------------------------------------------
> > > > ActionController::Routing::Routes.draw do |map|
> > > >  map.connect '':controller/:action/:id''
> > > >  map.connect
'':controller/:action/:id.:format''
> > > > end
> > > > --~--~---------~--~----~------------~-------~--~----~
>
> > > I guess you need to restart your server ;-)
>
> > > --
> > > Staf Wagemakers -http://www.wagemakers.be
> > --~--~---------~--~----~------------~-------~--~----~