aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/agents/_agent.html.erb2
-rw-r--r--app/views/application/_user_info.html.erb2
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/agents/_agent.html.erb b/app/views/agents/_agent.html.erb
index fda8bd0..aaeb9b0 100644
--- a/app/views/agents/_agent.html.erb
+++ b/app/views/agents/_agent.html.erb
@@ -1,7 +1,7 @@
<article class="agent" id="agent-<%= agent.to_param %>">
<header>
<h1><%= link_to agent.name, agent_url(agent) %></h1>
- <h2><%= link_to agent_url(agent) %></h1>
+ <h2><%= link_to agent_url(agent), agent_url(agent) %></h1>
</head>
<% if current_agent == agent %>
<section class="agent-info">
diff --git a/app/views/application/_user_info.html.erb b/app/views/application/_user_info.html.erb
index a1a42d2..122ec19 100644
--- a/app/views/application/_user_info.html.erb
+++ b/app/views/application/_user_info.html.erb
@@ -13,5 +13,5 @@
</section>
<% content_for :debug do %>
-<%= @current_user.avatar_url %>
+<%= @current_user&.avatar_url %>
<% end %>