I tried: merb-gen controller '/admin/articles'
and it worked as I expected, creating a module Admin with a class Articles inside. It's all evening I'm trying to route my requests to go in that Articles class and call the index action, and damn, I've got no clue.
At this point I have something likematch( "/:module/:controller/:action/:id" ).to( :controller => ":module/:controller" )
I also tried hardcoding everything, like match( "/admin/blabla" ) but nothing.
Can someone explain me how does this work ? ... Should I use a part, a slice ? Sorry, newbie here. I'm having a lot of fun with Merb, thanks a lot guys. ngw
smime.p7s
Description: S/MIME cryptographic signature
