On Sep 10, 2012, at 12:49 PM, brettnem wrote: > Hello All, > I'm pretty new to both ruby and hobo, but so far things have been going > really well. Very happy at how fast I can throw things together. > > So I'm just getting started trying to customize views. I've managed to extend > cards which was surprisingly easy (although I'm still trying to figure out > the relationship between cards, tags, etc). > > I followed some docs that were showing me how to edit the views, but in the > views folder I don't see subfolders for my models like the tutorials suggest. > So I manually created my own subfolders and a show.dryml file. The show.dryml > file had one line with the word "Foo" in it (I wanted to demonstrate making > hobo use the view). Well I can't seem to get it to pick it up. > > One thing to point out, and I'm sure in doing this I've made things harder > for myself than necessary. My model name is "message_type" (ie: > message_type.rb). So the show file is at app/views/message-types/show.dryml > (i've also tried app/views/message-type/show.dryml). I'm still not entirely > sure which inflection to use where.
In your case, views should live in app/views/message_types (underscored, plural). --Matt Jones -- You received this message because you are subscribed to the Google Groups "Hobo Users" 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/hobousers?hl=en.
