diff options
author | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-09-24 11:23:27 -0400 |
---|---|---|
committer | Kelly Rauchenberger <fefferburbia@gmail.com> | 2017-09-24 11:23:27 -0400 |
commit | 2405727d7d62fce31102520167cde42ee688c198 (patch) | |
tree | fbbf85f42ca6f0c17573974ca9c265a0d5aaf060 /lib/pokeviewer/engine.rb | |
parent | 0df34b64734e686f399ad7081c9b4e4921f75d64 (diff) | |
download | pokeviewer-2405727d7d62fce31102520167cde42ee688c198.tar.gz pokeviewer-2405727d7d62fce31102520167cde42ee688c198.tar.bz2 pokeviewer-2405727d7d62fce31102520167cde42ee688c198.zip |
Started working on UI
This commit imports a lot of assets from veekun, as well as a font from http://www.victoryroad.net/showthread.php?t=1507
Diffstat (limited to 'lib/pokeviewer/engine.rb')
-rw-r--r-- | lib/pokeviewer/engine.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/pokeviewer/engine.rb b/lib/pokeviewer/engine.rb index 4368808..9733b43 100644 --- a/lib/pokeviewer/engine.rb +++ b/lib/pokeviewer/engine.rb | |||
@@ -1,8 +1,23 @@ | |||
1 | require "enumerize" | 1 | require "enumerize" |
2 | require "sequenced" | 2 | require "sequenced" |
3 | require "haml" | ||
4 | require "sass-rails" | ||
5 | require "normalize-rails" | ||
3 | 6 | ||
4 | module Pokeviewer | 7 | module Pokeviewer |
5 | class Engine < ::Rails::Engine | 8 | class Engine < ::Rails::Engine |
6 | isolate_namespace Pokeviewer | 9 | isolate_namespace Pokeviewer |
10 | |||
11 | initializer "pokeviewer.assets" do |app| | ||
12 | app.config.assets.paths << Rails.root.join("app", "assets", "fonts") | ||
13 | end | ||
14 | |||
15 | initializer "pokeviewer.assets" do |app| | ||
16 | app.config.assets.precompile += | ||
17 | %w(pokeviewer/icons/*.png | ||
18 | pokeviewer/sprites/**/*.png | ||
19 | pokeviewer/sprites/**/*.gif | ||
20 | pokeviewer/types/**.gif) | ||
21 | end | ||
7 | end | 22 | end |
8 | end | 23 | end |