Skip to content

Commit

Permalink
don't strip query and achor params
Browse files Browse the repository at this point in the history
  • Loading branch information
mrtazz committed Aug 19, 2012
1 parent 3c1e298 commit b12c3a0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app.rb
Expand Up @@ -7,7 +7,8 @@ class App < Guillotine::App
uri = URI.parse(ENV["REDISTOGO_URL"])
REDIS = Redis.new(:host => uri.host, :port => uri.port, :password => uri.password)
adapter = Guillotine::Adapters::RedisAdapter.new REDIS
set :service => Guillotine::Service.new(adapter)
set :service => Guillotine::Service.new(adapter, :strip_query => false,
:strip_anchor => false)

# authenticate everything except GETs
before do
Expand Down

0 comments on commit b12c3a0

Please sign in to comment.