Curtis Schofield wrote:
> On Thu, Jan 14, 2010 at 7:51 PM, Alpha Blue <[email protected]> 
> wrote:
> 
>> I'm looking for 3 areas to work as dynamic assets:
>>
>> image_path, javascript_path, and stylesheet_path
>>
> 
> 
>> I just need the ability to change the three paths above using either a
>> custom call to a module, or through the application controller.
>>
>> Can it be done and if so, how?
>>
>>
>  Sounds like a fun  and interesting project. I would be interested in
> finding out your
> final solution.
> 
>  You might consider adding to the config object used in intitializer ala 
> the
> way
> action mailer and actioncontroller use it for UrlWriter.
[...]

That probably won't work.  The OP needs different paths for each user, 
while the config object is site-wide.  (Unless there's a way to put a 
method in there and evaluate it as necessary.)

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
Posted via http://www.ruby-forum.com/.
-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.


Reply via email to