Created
November 29, 2009 20:05
-
-
Save samsm/245044 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use Rack::If, {:path => /\A\/admin\/mega-admin.*/}, :any do | |
use EasyRackOpenID, :allowed_identifiers => ['http://example.com/mega-admin'] | |
end | |
use Rack::If, {:path => /\A\/admin.*/}, :any do | |
use EasyRackOpenID, :allowed_identifiers => ['http://example.com/admin'] | |
end | |
run Site.new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment