From bb9044cb82aa8c28c35086820fa4539dab77b517 Mon Sep 17 00:00:00 2001 From: lachie Date: Sat, 14 Aug 2010 17:24:06 +1000 Subject: [PATCH] spinner data uri --- lib/whereuat.rb | 1 - lib/whereuat/assets/context.rb | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) 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