blossom 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/blossom.rb +1 -2
- data/lib/blossom/version.rb +1 -1
- metadata +1 -1
data/lib/blossom.rb
CHANGED
@@ -179,8 +179,7 @@ class Blossom::Application < Rack::Builder
|
|
179
179
|
|
180
180
|
def file_exists? *suffixes
|
181
181
|
condition do
|
182
|
-
|
183
|
-
suffix.any? {
|
182
|
+
suffixes.any? { |suffix|
|
184
183
|
basename = File.basename(request.path_info)
|
185
184
|
barename = basename.sub(/\.[^.]*$/, '')
|
186
185
|
File.exist? File.join(settings.root, "#{barename}.#{suffix}")
|
data/lib/blossom/version.rb
CHANGED