Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

[Fixes #27] Server::Admin.mount ignores path

  • Loading branch information...
commit e33851f278c22c4fb5d1341c5450d69df0b79819 1 parent a5d7b9c
@assaf assaf authored
View
2  .rvmrc
@@ -1,3 +1,3 @@
export RUBYOPT="rubygems"
export RUBYLIB="."
-rvm 1.9.2@rack-oauth2-server
+rvm 1.9.2
View
7 CHANGELOG
@@ -1,5 +1,12 @@
2011-08-01 Version 2.4.1
+Fixed Server::Admin.mount ignoring path (ABrukish).
+
+Fixed a few issues with documentation (Jesse Miller).
+
+
+2011-08-01 Version 2.4.1
+
Fixes error in oauth2-server command line (Michael Saffitz)
View
1  Gemfile
@@ -9,7 +9,6 @@ end
group :test do
gem "awesome_print"
- gem "json"
gem "rack-test"
gem "shoulda"
gem "timecop"
View
2  lib/rack/oauth2/server/admin.rb
@@ -51,7 +51,7 @@ def call(env)
# config.middleware.use Rack::OAuth2::Server::Admin.mount
def mount(path = "/oauth/admin")
mount = Class.new(Mount)
- mount.mount Admin, "/oauth/admin"
+ mount.mount Admin, path
mount
end
Please sign in to comment.
Something went wrong with that request. Please try again.