Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Commit

Permalink
Use public_path convenience method
Browse files Browse the repository at this point in the history
  • Loading branch information
jnunemaker committed Sep 12, 2012
1 parent 9fdd9ec commit c7029be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/flipper/ui/middleware.rb
Expand Up @@ -78,7 +78,7 @@ def get(flipper)

class File < Action
def get(flipper)
Rack::File.new(self.class.public_path).call(request.env)
Rack::File.new(public_path).call(request.env)
end
end

Expand Down

0 comments on commit c7029be

Please sign in to comment.