-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.ru
More file actions
27 lines (20 loc) · 786 Bytes
/
config.ru
File metadata and controls
27 lines (20 loc) · 786 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require File.expand_path(File.dirname(__FILE__) + '/app/boot')
require File.expand_path(File.dirname(__FILE__) + '/app/app')
require 'sprockets'
stylesheets = Sprockets::Environment.new
stylesheets.append_path 'app/assets/styles'
stylesheets.append_path 'vendor/assets/styles'
javascripts = Sprockets::Environment.new
javascripts.append_path 'app/assets/scripts'
javascripts.append_path 'vendor/assets/scripts'
fonts = Sprockets::Environment.new
fonts.append_path 'app/assets/fonts'
fonts.append_path 'vendor/assets/fonts'
images = Sprockets::Environment.new
images.append_path 'app/assets/images'
map('/css') { run stylesheets }
map('/fonts') { run fonts }
map('/font') { run fonts }
map('/js') { run javascripts }
map('/img') { run images }
map('/') { run Steam::App }