Re: [Radiant] Re: Page rendering in custom controllers

2011-08-06 Thread nx
Why not just redirect to the Radiant page and let Radiant do the rendering part? def show if @site_user.license redirect '/subscriber' else redirect '/some-other-page' end end On Sat, Aug 6, 2011 at 6:51 PM, Susan Javurek sjavu...@fusesource.com wrote:

Re: [Radiant] Re: render_radiant

2011-01-20 Thread nx
/photos/recent - recent - /photos/recent You can change the page to load by passing the :action option, just like the regular render method. On Thu, Jan 20, 2011 at 7:09 PM, Haselwanter Edmund edm...@haselwanter.com wrote: On 20.01.2011, at 23:02, nx wrote: share_layout, as far as I know

[Radiant] render_radiant

2011-01-19 Thread nx
I wanted to use ActionController like I always have, except render the action with Radiant. So I wrote a gem that overrides render to take instance variables and methods like params and flash from the action and assign them to the page context to be accessible from my Radius tags. It uses a