Class: Spree::Api::V2::Storefront::StoresController

Inherits:
ResourceController show all
Defined in:
app/controllers/spree/api/v2/storefront/stores_controller.rb

Instance Method Summary collapse

Methods inherited from ResourceController

#index, #show

Methods included from Caching

#collection_cache_key, #collection_cache_opts

Methods included from CollectionOptionsHelpers

#collection_links, #collection_meta, #collection_permitted_params

Methods inherited from BaseController

#content_type

Instance Method Details

#currentObject



6
7
8
# File 'app/controllers/spree/api/v2/storefront/stores_controller.rb', line 6

def current
  render_serialized_payload { serialize_resource(current_store) }
end