Class: OvertureMaps::AttributionController
- Inherits:
-
ApplicationController
- Object
- ActionController::API
- ApplicationController
- OvertureMaps::AttributionController
- Defined in:
- app/controllers/overture_maps/attribution_controller.rb
Overview
GET /overture/attribution — the notices required for the data this database actually holds. Map UIs can render these verbatim.
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
7 8 9 10 11 12 13 |
# File 'app/controllers/overture_maps/attribution_controller.rb', line 7 def index expires_in 1.hour, public: true render json: { notices: Attribution.notices, text: Attribution.text } end |