Replace lookup_friend with lookup_user in FollowsController
This commit is contained in:
parent
2074e9dce2
commit
82fb1bf798
2 changed files with 12 additions and 22 deletions
|
@ -1,5 +1,5 @@
|
|||
<% content_for :heading do %>
|
||||
<h1><%= t(@already_follows ? ".unfollow.heading" : ".follow.heading", :user => @friend.display_name) %></h1>
|
||||
<h1><%= t(@already_follows ? ".unfollow.heading" : ".follow.heading", :user => @user.display_name) %></h1>
|
||||
<% end %>
|
||||
|
||||
<%= bootstrap_form_tag :method => (@already_follows ? :delete : :post) do |f| %>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue