Move to project dropdown with infinite scroll for better performance
Use just SQL to check is a user can admin_issue on a project Tradeoff - we duplicate how we check admin_issue in a SQL relation in the Ability class
显示
- CHANGELOG 1 个添加, 0 个删除CHANGELOG
- app/controllers/autocomplete_controller.rb 6 个添加, 8 个删除app/controllers/autocomplete_controller.rb
- app/finders/move_to_project_finder.rb 14 个添加, 0 个删除app/finders/move_to_project_finder.rb
- app/models/project.rb 2 个添加, 0 个删除app/models/project.rb
- app/models/user.rb 7 个添加, 0 个删除app/models/user.rb
- spec/controllers/autocomplete_controller_spec.rb 188 个添加, 104 个删除spec/controllers/autocomplete_controller_spec.rb
- spec/finders/move_to_project_finder_spec.rb 75 个添加, 0 个删除spec/finders/move_to_project_finder_spec.rb
- spec/models/user_spec.rb 47 个添加, 0 个删除spec/models/user_spec.rb
加载中
想要评论请 注册 或 登录