diff --git a/lib/whereuat.rb b/lib/whereuat.rb index 5b99f31..dfb9786 100644 --- a/lib/whereuat.rb +++ b/lib/whereuat.rb @@ -29,7 +29,6 @@ def gem_root @gem_root ||= Pathname('../..').expand_path(__FILE__) end - include Assets end end diff --git a/lib/whereuat/assets/context.rb b/lib/whereuat/assets/context.rb index 1f84b1f..56fd892 100644 --- a/lib/whereuat/assets/context.rb +++ b/lib/whereuat/assets/context.rb @@ -5,6 +5,10 @@ def bg_url Image.new(images_root+'uat-bg.png') end + def spinner_url + Image.new(images_root+'spinner.gif') + end + def images_root @images_root ||= Whereuat.dev_root+'images' end