An error occurred fetching the project authors.
  1. 09 Nov, 2018 4 commits
  2. 01 Nov, 2018 6 commits
    • Thong Kuah's avatar
      Use polymorphic_paths where we can · 362409fa
      Thong Kuah authored
      To reduce the number of abstract methods, use polymorphic_paths for
      collection routes. Unfortunately for member routes, polymorphic_paths
      does not support namespaced classes, so still continue to override
      methods.
      362409fa
    • Thong Kuah's avatar
      Use polymorphic_paths where we can · fec21f55
      Thong Kuah authored
      To reduce the number of abstract methods, use polymorphic_paths for
      collection routes. Unfortunately for member routes, polymorphic_paths
      does not support namespaced classes, so still continue to override
      methods.
      fec21f55
    • Thong Kuah's avatar
      Resolve controller sharing concern · dd8a715b
      Thong Kuah authored
      Use ClustersController as base while having Projects::ClustersController
      to inform what `clusterable` is. Thanks @ayufan for the great suggestion
      !
      
      - View changes to work with new approach
      
      - Fix javascript for new approach
      
      - Fix feature specs for new approach
      
      - Fix QA
      dd8a715b
    • Thong Kuah's avatar
      Move view and path concerns to presenters · c4d8fc61
      Thong Kuah authored
      - Move show path for cluster to ClusterPresenter
      
      - Create ClusterablePresenter to encapsulate logic. Consolidates
      scattered methods from BaseController and ClustersHelper into an object.
      c4d8fc61
    • Thong Kuah's avatar
      Resolve controller sharing concern · 1a1fdf8e
      Thong Kuah authored
      Use ClustersController as base while having Projects::ClustersController
      to inform what `clusterable` is. Thanks @ayufan for the great suggestion
      !
      
      - View changes to work with new approach
      
      - Fix javascript for new approach
      
      - Fix feature specs for new approach
      
      - Fix QA
      1a1fdf8e
    • Thong Kuah's avatar
      Move view and path concerns to presenters · 1163b235
      Thong Kuah authored
      - Move show path for cluster to ClusterPresenter
      
      - Create ClusterablePresenter to encapsulate logic. Consolidates
      scattered methods from BaseController and ClustersHelper into an object.
      1163b235