catsay 0.0.1 → 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|