On Jan 22, 2011, at 2:40 PM, Ankur wrote:
> This is probably a dumb question, but I am looking all over
> documentation trying to figure it out. I just want to create a
> standalone view (maybe not the best architecture, but just trying to
> get it done) to display some status, but how do I have the system
> render a view after the controller? With regular rails I just slap a
> render('path/to/view') and the end of my controller action. But I try
> that with the dryml file and I just get errors. Is it in the
> documentation and I just missed it?
>
> i am using Rails 3 with the latest hobo --pre 26
This should work (I've done it in 1.0):
def some_status_action
render :template => 'some/file/'
end
If this doesn't work, it's probably a bug.
--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.