Hi.

I have some apps that i have "admin" areas to the clients manager the app.

This "admin" is a directory on my controllers path, like this:

my_site
--> app
-->-->controllers
-->-->-->admin

And my controllers in "admin", i use the correct namespace(example for
clients_controller):

class Admin::ClientsController < AdminController

Only doing it and dont use routes, it run OK if i access by the url:

http://localhost:3000/admin/clients

But local and on my server(passenger) it is ok, and function normal, but on
JRUBY i get an error because it is thinking that "admin" is a controller and
"clients" is a action of "admin".

My controllers is not restfull, so what i have to do, to correct it? Or what
the best method to make the "admin"? I have to put any route?


-- 
Atenciosamente,
Paulo Coutinho.
Blog: www.prsolucoes.com/blog
Site: www.prsolucoes.com
Msn:  [email protected]

--

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 this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.


Reply via email to