lib/lanes/api/handlers/asset.rb in lanes-0.6.1 vs lib/lanes/api/handlers/asset.rb in lanes-0.7.0
- old
+ new
@@ -32,13 +32,12 @@
end
end
end
def self.getter
- root = Lanes::Extensions.controlling
- .root_path.join('public', 'files')
+ root = Lanes::Extensions.controlling.root_path.join('public', 'files')
lambda do
-- send_file(root.join( params['splat'].first ).to_s)
+ send_file(root.join( params['splat'].first ).to_s)
end
end
end
end