Class: RemoteThemeSerializer
- Inherits:
-
ApplicationSerializer
- Object
- ActiveModel::Serializer
- ApplicationSerializer
- RemoteThemeSerializer
- Defined in:
- app/serializers/remote_theme_serializer.rb
Instance Method Summary collapse
-
#about_url ⇒ Object
wow, AMS has some pretty nutty logic where it tries to find the path here from action dispatch, tell it not to.
- #include_github_diff_link? ⇒ Boolean
Methods inherited from ApplicationSerializer
expire_cache_fragment!, fragment_cache
Methods inherited from ActiveModel::Serializer
Instance Method Details
#about_url ⇒ Object
wow, AMS has some pretty nutty logic where it tries to find the path here from action dispatch, tell it not to
24 25 26 |
# File 'app/serializers/remote_theme_serializer.rb', line 24 def about_url object.about_url end |
#include_github_diff_link? ⇒ Boolean
28 29 30 |
# File 'app/serializers/remote_theme_serializer.rb', line 28 def include_github_diff_link? github_diff_link.present? end |