GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Rubygem
Description: Resource-oriented open source Ruby framework for Web apps.
Homepage: http://rubywaves.com/
Clone URL: git://github.com/dyoder/waves.git
added / to end of Rack::Static dirs
automatthew (author)
Tue Jul 08 17:09:39 -0700 2008
commit  4c9d043d0a64745f75b662969d227ce21f830dfe
tree    db70717084b9d2b3077c8dd90e65f0cf48288dfa
parent  15a012531a64c3e9428b9bcb03d569c57ad62b24
...
20
21
22
23
 
24
25
26
...
20
21
22
 
23
24
25
26
0
@@ -20,7 +20,7 @@ module <%= @name %>
0
 
0
       application do
0
         use ::Rack::ShowExceptions
0
- use ::Rack::Static, :urls => [ '/css', '/javascript' ], :root => 'public'
0
+ use ::Rack::Static, :urls => [ '/css/', '/javascript/' ], :root => 'public'
0
         run ::Waves::Dispatchers::Default.new
0
       end
0
 
...
22
23
24
25
 
26
27
28
...
22
23
24
 
25
26
27
28
0
@@ -22,7 +22,7 @@ module <%= @name %>
0
       # handler ::Rack::Handler::Thin, :Host => host, :Port => port
0
 
0
       application do
0
- use ::Rack::Static, :urls => [ '/css', '/javascript' ], :root => 'public'
0
+ use ::Rack::Static, :urls => [ '/css/', '/javascript/' ], :root => 'public'
0
         run ::Waves::Dispatchers::Default.new
0
       end
0
 

Comments

    No one has commented yet.