Welcome! Log In Create A New Profile

Advanced

Serving Dynamic js files

Qaiser Wali
July 11, 2009 02:03AM
I have a controller named javascripts and in my view i have few .js.erb
files.

on my local machine, i can include the .js as a regular script file and
it works fine. on my production machine i am not sure how to configure
nginx that it can recognize both the folders public/javascripts and
apps/views/javascripts and serve javascripts from both these places.

someone help please.
--
Posted via http://www.ruby-forum.com/.
Subject Author Posted

Serving Dynamic js files

Qaiser Wali July 11, 2009 02:03AM

Re: Serving Dynamic js files

Cliff Wells July 11, 2009 02:35PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 157
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready