Re: [Radiant] Re: Re: Reloading Routes with a Rake Task

2008-06-19 Thread Chris Parrish
Hmm. Will give that a whirl then. I'll let you know. Thanks. -Chris Alex Wayne wrote: Chris Parrish wrote: My question was originally tied to approach #1. I could use a Rake task to change the "javascript_directory" but couldn't get the already-running server to reload its routes. Now

[Radiant] Re: Re: Reloading Routes with a Rake Task

2008-06-19 Thread Alex Wayne
Chris Parrish wrote: > My question was originally tied to approach #1. I could use a Rake task > to change the "javascript_directory" but couldn't get the > already-running server to reload its routes. > > Now I'm working on having an augmented SiteController#show_page action > process the whole

[Radiant] sidebar page part = brilliant

2008-06-19 Thread Steven Southard
I've made about 5 websites with radiant so far and I guess most of them I just started with a simple blog or empty. Today I started with the more filled in version and discovered how this sidebar page part is being used. It's brilliant! Really. I've been using snippets to attempt the sam

Re: [Radiant] Re: Reloading Routes with a Rake Task

2008-06-19 Thread Chris Parrish
Actually, I was just thinking about using a before filter too. I hate being so obtrusive with alias_method_chain, but I'm not sure a before_filter will work. The job I'm trying to do here is find and render css and js files and, if the file's not found, let SiteController try to render it as

[Radiant] Re: Reloading Routes with a Rake Task

2008-06-19 Thread Alex Wayne
Chris Parrish wrote: > Nevermind. I wound up going the route of alias_method_chain-ing > SiteController's #show_page method. It makes things more tightly > coupled to Radiant but it's also closer to how it'd be if built-in. > > If anybody else out there is already using alias_method_chain on thi

Re: [Radiant] Reloading Routes with a Rake Task

2008-06-19 Thread Chris Parrish
Nevermind. I wound up going the route of alias_method_chain-ing SiteController's #show_page method. It makes things more tightly coupled to Radiant but it's also closer to how it'd be if built-in. If anybody else out there is already using alias_method_chain on this method in your extension,