catsay 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/catsay.rb +1 -1
- metadata +1 -1
data/lib/catsay.rb
CHANGED
@@ -87,7 +87,7 @@ module Catsay
|
|
87
87
|
# in the cats/ directory minus the cats/ and
|
88
88
|
# .erb extension
|
89
89
|
def template_path_for(template_id)
|
90
|
-
File.join('cats', "#{template_id}.erb")
|
90
|
+
File.join(File.expand_path(File.dirname(__FILE__)), '..', 'cats', "#{template_id}.erb")
|
91
91
|
end
|
92
92
|
|
93
93
|
# fetches the input by first looking for
|