[Nitro] [bug] AdminController doesn't support Og Entities in modules

Jonas Pfenniger zimba.tm at gmail.com
Mon Jan 23 15:48:32 EST 2006


Hi George,

I created a small patch for this. It's not quite it. I have redefined 
String.underscore to escape :: to _ . It's a bit ugly but it works.

George Moschovitis wrote:

>Zimb,
>
>ok will check this!
>
>-g.
>
>On 1/12/06, Jonas Pfenniger <zimba.tm at gmail.com> wrote:
>  
>
>>module Test
>>  class Item
>>    property :name
>>  end
>>end
>>
>>Og creates an ogtest_item table which contains the items.
>>
>>When trying to access it in the AdminController, it generates a link
>>called http://localhost:9999/admin/test::item/list which doesn't exist.
>>
>>It would be nice to have a link like
>>http://localhost:9999/admin/test/item/list instead. I wish I could do
>>this, but Nitro has too much magic that I don't understand.
>>
>>
>>Cheers,
>>   zimba
>>_______________________________________________
>>Nitro-general mailing list
>>Nitro-general at rubyforge.org
>>http://rubyforge.org/mailman/listinfo/nitro-general
>>
>>    
>>
>
>
>--
>http://www.gmosx.com
>http://www.navel.gr
>http://www.nitrohq.com
>
>_______________________________________________
>Nitro-general mailing list
>Nitro-general at rubyforge.org
>http://rubyforge.org/mailman/listinfo/nitro-general
>
>  
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bundle.tgz
Type: application/octet-stream
Size: 3955 bytes
Desc: not available
Url : http://rubyforge.org/pipermail/nitro-general/attachments/20060123/d6953ce1/attachment.obj 


More information about the Nitro-general mailing list