mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-04-05 07:35:32 -04:00
Update app/views/members/_actions.html.haml
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
-# - content_for :buttonbar do
|
||||
-# %p.btn-group
|
||||
-# - if can? :update, @member
|
||||
-# = link_to edit_member_registration_path, class: 'btn btn-default text-right' do
|
||||
@@ -13,4 +12,4 @@
|
||||
-# - if !follow && can?(:create, Follow) # not already following
|
||||
-# = link_to 'Follow', follows_path(followed: @member), method: :post, class: 'btn btn-default text-right'
|
||||
-# - if follow && can?(:destroy, follow) # already following
|
||||
-# = link_to 'Unfollow', follow_path(follow), method: :delete, class: 'btn btn-default text-right'
|
||||
-# = link_to 'Unfollow', follow_path(follow), method: :delete, class: 'btn btn-default text-right'
|
||||
|
||||
Reference in New Issue
Block a user