Thanks for the followup Stefan, it would be nice to get this working
someday :).

Warm regards,
Ignacio

El 14/04/14 10:07, Stefan Haslinger escribió:
> Some improvements here...
> 
> I believe, that providing the model name as stated
> in http://hobocentral.net/manual/controllers is not
> supported any more, but if I help with the naming like this:
> 
>     class Admin::MetadataController < Admin::AdminSiteController
>       def self.model
>         MercatorIcecat::Metadatum
>       end
> 
>  
> 
>       def self.model_name
>         mercator_icecat_metadata
>       end
> 
>  
> 
>       include Hobo::Controller::Model
>       auto_actions :all
>     end
> 
> 
> and help with the routes
> 
>       namespace :admin do
>         resources :metadata
>       end
> 
> 
> it get it running in development.
> 
> On production, the DRYML-tags are not created on restart. (Sometimes
> also not on development ..., but I couldn't figure out when.)
> To see, if it would work in production, I manually copied the generated
> DRYML to a metadatum.dryml page, and then
> it worked.
> 
> More of a hack than a workaround.
> So Hobo models in engines behave well for me, Hobo controllers not so much.
> 
> Ciao,
> Stefan
> 
> -- 
> You received this message because you are subscribed to the Google
> Groups "Hobo Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to [email protected]
> <mailto:[email protected]>.
> To post to this group, send email to [email protected]
> <mailto:[email protected]>.
> Visit this group at http://groups.google.com/group/hobousers.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/hobousers.
For more options, visit https://groups.google.com/d/optout.

Reply via email to