Class: Decidim::StaticMapController
- Inherits:
-
ApplicationController
- Object
- DecidimController
- ApplicationController
- Decidim::StaticMapController
- Defined in:
- app/controllers/decidim/static_map_controller.rb
Instance Method Summary collapse
Methods included from UserBlockedChecker
#check_user_block_status, #check_user_not_blocked
Methods included from NeedsSnippets
Methods included from HttpCachingDisabler
Methods included from HasStoredPath
#skip_store_location?, #store_current_location
Methods included from RegistersPermissions
Methods included from NeedsOrganization
enhance_controller, extended, included
Instance Method Details
#show ⇒ Object
7 8 9 |
# File 'app/controllers/decidim/static_map_controller.rb', line 7 def show send_data StaticMapGenerator.new(resource).data, type: "image/jpeg", disposition: "inline" end |