title: Command for using a page in a template structure if logged in
body: <p>I am having to use ruby to construct interactions with api's, which has been going ok. but now trying to get the layout of the template right. each part of the page, header,footer, side menu and content is in a seperate rhtml file. but in some cases i require the side menu page to be different if the user is logged in. Is there a way of achieving this?</p>