lib/happy/extras/static.rb in happy-0.1.0.pre25 vs lib/happy/extras/static.rb in happy-0.1.0.pre27
- old
+ new
@@ -1,9 +1,9 @@
module Happy
module Extras
class Static < Happy::Controller
def route
- run Rack::File.new(options[:path])
+ run Rack::File.new(settings[:path])
end
end
end
end