15 lines
191 B
Plaintext
15 lines
191 B
Plaintext
- if policy(@profile).edit?
|
|
.contain
|
|
= link_to 'Edit', edit_profile_path(@profile)
|
|
|
|
%p
|
|
= @profile.name
|
|
%p
|
|
= @profile.summary
|
|
|
|
%h2 About #{@profile.name}
|
|
|
|
.about
|
|
= @profile.about
|
|
|