• Thong Kuah's avatar
    Move code to presenter · 0e78834b
    Thong Kuah authored
    Part of the code such as #show_path is already present on the presenter.
    Also avoid having code in two places (helper and presenter)
    
    Sanitize and assert html_safe. Additional layer of defense - on top of
    GitLab already requiring group names to be composed of small set of
    chars A-Z, - and spaces.
    
    Only link to cluster if user can read cluster
    
    Make clear that arg is a GroupClusterablePresenter
    
    Add more specs for completeness
    0e78834b
Name
Last commit
Last update
..
ci Loading commit data...
clusters Loading commit data...
conversational_development_index Loading commit data...
projects/settings Loading commit data...
blob_presenter_spec.rb Loading commit data...
clusterable_presenter_spec.rb Loading commit data...
commit_status_presenter_spec.rb Loading commit data...
group_clusterable_presenter_spec.rb Loading commit data...
group_member_presenter_spec.rb Loading commit data...
merge_request_presenter_spec.rb Loading commit data...
project_clusterable_presenter_spec.rb Loading commit data...
project_member_presenter_spec.rb Loading commit data...
project_presenter_spec.rb Loading commit data...