Skip to content
Snippets Groups Projects
Unverified Commit 3cdd6847 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Add star icon to star button

parent e49f1a27
Branches
Tags
No related merge requests found
Pipeline #
- if current_user
= link_to toggle_star_namespace_project_path(@project.namespace, @project), class: 'btn star-btn toggle-star', method: :post, remote: true do
= icon('star')
- if current_user.starred?(@project)
Unstar
- else
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment