I’m trying to figure out what the most elegant way to do this - I’ve
only got a small
amount of different subdomains corresponding to categories -
and I’ve been using fragment caching.
In particular, I was wondering what the best way to call these actions
I’m thinking redirect and render_component aren’t really very nice
I’ve also had to resort to my own naming of the fragments -
because the default fragment naming includes the full host name
with the various subdomains.
unless read_fragment “post/all”
@posts = Post.find(:all,:order=>“earliest DESC”)
render_component :action=>“geek” #redirect_to