Skip to content

Commit

Permalink
Readme: update app_info example
Browse files Browse the repository at this point in the history
  • Loading branch information
emma-borhanian committed Mar 12, 2015
1 parent e44f527 commit ac8baa5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Expand Up @@ -616,10 +616,10 @@ Example:
config.reload_controllers = Rails.env.development?
config.api_controllers_matcher = File.join(Rails.root, "app", "controllers", "**","*.rb")
config.api_routes = Rails.application.routes
config.app_info = "
config.app_info["1.0"] = "
This is where you can inform user about your application and API
in general.
", '1.0'
"
config.authenticate = Proc.new do
authenticate_or_request_with_http_basic do |username, password|
username == "test" && password == "supersecretpassword"
Expand Down

0 comments on commit ac8baa5

Please sign in to comment.