No, I still cannot do it. I cannot use Hobo because I'm using Neo4j NoSql db, which doesn't run with Hobo.
I just would like to set up an abstract route redirecting everything to my AbstractController! Il giorno martedì 16 settembre 2014 10:37:11 UTC+2, Jarmo Isotalo ha scritto: > > Cant you do it already? > > On Monday, September 15, 2014 6:34:46 PM UTC+2, Paolo Di Pietro wrote: >> >> Hi all, >> >> I'd like to implement (Rails 4) a very high level (generic) abstract >> controller, able to manage any route and then create a viewer on the fly. >> >> I'd like to call it 'abstracts', and being able to call as >> >> :abstract(/:subject(/:action(/:id))) >> >> something like >> >> abstract/user/create >> or >> abstract/identity/:john/edit >> >> I'm not sure on the best way to define the correct route, and how to >> generate the model and the view code on the fly, after getting the >> definition in the controller from the DB. >> >> Any suggestion is appreciated. >> >> Paolo >> > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-talk@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/836b14da-55a2-47fe-b2d7-9a0529792f8c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.