lib/generators/shamu/application_presenter/templates/application_presenter.rb in shamu-0.0.7 vs lib/generators/shamu/application_presenter/templates/application_presenter.rb in shamu-0.0.8
- old
+ new
@@ -1,7 +1,7 @@
# Base {Shamu::JsonApi::Presenter} that all other presenters should
# inherit from.
-class ApplicationPresenter < shamu::JsonApi::Presenter
+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
\ No newline at end of file