Module: Locomotive::API
- Defined in:
- app/api/locomotive/api.rb,
app/api/locomotive/api/forms/base_form.rb,
app/api/locomotive/api/forms/page_form.rb,
app/api/locomotive/api/forms/site_form.rb,
app/api/locomotive/api/exception_rescuers.rb,
app/api/locomotive/api/forms/account_form.rb,
app/api/locomotive/api/forms/section_form.rb,
app/api/locomotive/api/forms/snippet_form.rb,
app/api/locomotive/api/entities/base_entity.rb,
app/api/locomotive/api/entities/page_entity.rb,
app/api/locomotive/api/entities/site_entity.rb,
app/api/locomotive/api/forms/membership_form.rb,
app/api/locomotive/api/forms/my_account_form.rb,
app/api/locomotive/api/helpers/params_helper.rb,
app/api/locomotive/api/forms/theme_asset_form.rb,
app/api/locomotive/api/forms/translation_form.rb,
app/api/locomotive/api/helpers/locales_helper.rb,
app/api/locomotive/api/entities/account_entity.rb,
app/api/locomotive/api/entities/section_entity.rb,
app/api/locomotive/api/entities/snippet_entity.rb,
app/api/locomotive/api/forms/content_type_form.rb,
app/api/locomotive/api/resources/page_resource.rb,
app/api/locomotive/api/resources/site_resource.rb,
app/api/locomotive/api/forms/content_asset_form.rb,
app/api/locomotive/api/forms/content_entry_form.rb,
app/api/locomotive/api/resources/token_resource.rb,
app/api/locomotive/api/helpers/pagination_helper.rb,
app/api/locomotive/api/entities/membership_entity.rb,
app/api/locomotive/api/helpers/persistence_helper.rb,
app/api/locomotive/api/resources/account_resource.rb,
app/api/locomotive/api/resources/section_resource.rb,
app/api/locomotive/api/resources/snippet_resource.rb,
app/api/locomotive/api/resources/version_resource.rb,
app/api/locomotive/api/entities/theme_asset_entity.rb,
app/api/locomotive/api/entities/translation_entity.rb,
app/api/locomotive/api/forms/editable_element_form.rb,
app/api/locomotive/api/entities/content_type_entity.rb,
app/api/locomotive/api/entities/content_asset_entity.rb,
app/api/locomotive/api/entities/content_entry_entity.rb,
app/api/locomotive/api/forms/content_type_field_form.rb,
app/api/locomotive/api/helpers/authentication_helper.rb,
app/api/locomotive/api/middlewares/locale_middleware.rb,
app/api/locomotive/api/middlewares/logger_middleware.rb,
app/api/locomotive/api/resources/membership_resource.rb,
app/api/locomotive/api/resources/my_account_resource.rb,
app/api/locomotive/api/resources/theme_asset_resource.rb,
app/api/locomotive/api/resources/translation_resource.rb,
app/api/locomotive/api/resources/content_type_resource.rb,
app/api/locomotive/api/resources/current_site_resource.rb,
app/api/locomotive/api/entities/editable_element_entity.rb,
app/api/locomotive/api/resources/content_asset_resource.rb,
app/api/locomotive/api/resources/content_entry_resource.rb,
app/api/locomotive/api/entities/content_type_field_entity.rb,
app/api/locomotive/api/resources/url_redirection_resource.rb,
app/api/locomotive/api/middlewares/params_decoder_middleware.rb
Defined Under Namespace
Modules: Entities, ExceptionRescuers, Forms, Helpers, Middlewares, Resources Classes: Dispatch
Class Method Summary collapse
Class Method Details
.to_app ⇒ Object
11 12 13 14 15 16 17 18 |
# File 'app/api/locomotive/api.rb', line 11 def self.to_app Rack::Builder.new do use Locomotive::API::Middlewares::LocaleMiddleware use Locomotive::API::Middlewares::LoggerMiddleware use Locomotive::API::Middlewares::ParamsDecoderMiddleware run Locomotive::API::Dispatch end end |