Add new event serializer to return JSON only response based on FF
A new serializer is created to return JSON response based on a feature flag. This is being done because the views are being converted to Vue from HAML. Changelog: added
显示
- app/controllers/users_controller.rb 13 个添加, 1 个删除app/controllers/users_controller.rb
- app/helpers/merge_requests_helper.rb 1 个添加, 0 个删除app/helpers/merge_requests_helper.rb
- app/presenters/event_presenter.rb 1 个添加, 1 个删除app/presenters/event_presenter.rb
- app/serializers/profile/event_entity.rb 125 个添加, 0 个删除app/serializers/profile/event_entity.rb
- app/serializers/profile/event_serializer.rb 7 个添加, 0 个删除app/serializers/profile/event_serializer.rb
- spec/requests/users_controller_spec.rb 78 个添加, 22 个删除spec/requests/users_controller_spec.rb
- spec/serializers/profile/event_entity_spec.rb 149 个添加, 0 个删除spec/serializers/profile/event_entity_spec.rb
加载中
想要评论请 注册 或 登录