about summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-09-24 11:23:27 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-09-24 11:23:27 -0400
commit2405727d7d62fce31102520167cde42ee688c198 (patch)
treefbbf85f42ca6f0c17573974ca9c265a0d5aaf060 /lib
parent0df34b64734e686f399ad7081c9b4e4921f75d64 (diff)
downloadpokeviewer-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')
-rw-r--r--lib/pokeviewer/engine.rb15
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 @@
1require "enumerize" 1require "enumerize"
2require "sequenced" 2require "sequenced"
3require "haml"
4require "sass-rails"
5require "normalize-rails"
3 6
4module Pokeviewer 7module 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
8end 23end