Sha256: 228b15da1b6e5b68d66a526955e999d581eb43c20d8e5f8960b2daf923250910

Contents?: true

Size: 344 Bytes

Versions: 1

Compression:

Stored size: 344 Bytes

Contents

# Base {Shamu::JsonApi::Presenter} that all other presenters should
# inherit from.
class ApplicationPresenter < shamu::JsonApi::Presenter
  include ::Rails.application.routes.url_helpers

  # Override default_url_options in config/environments files.
  self.default_url_options = Rails.application.config.shamu.json_api.default_url_options
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
shamu-0.0.7 lib/generators/shamu/application_presenter/templates/application_presenter.rb