Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
grosser committed Oct 11, 2009
1 parent 915bc11 commit e39a444
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.markdown
Expand Up @@ -40,11 +40,13 @@ View
`:default_provider=>'google'` [possible default providers](https://rpxnow.com/docs#sign-in_default_provider)
`:flags=>'show_provider_list'` [possible flags](https://rpxnow.com/docs#sign-in_interface)

`popup_code` can also be called with `:unobstrusive=>true`. To still get a nice popup include `RPXNow.popup_source('mywebsite',rpx_token_sessions_url, [options])` somewhere else.
###Unobtrusive / JS-last
`popup_code` can also be called with `:unobtrusive=>true` ( --> just link without javascript include).
To still get the normal popup add `RPXNow.popup_source('mywebsite',rpx_token_sessions_url, [options])`.
Options like :language / :flags should be given for both.

Environment
-----------
environment.rb
--------------
Rails::Initializer.run do |config|
config.gem "rpx_now"
...
Expand Down

0 comments on commit e39a444

Please sign in to comment.