work on controllers/views started
This commit is contained in:
11
app/views/users/show.html.erb
Normal file
11
app/views/users/show.html.erb
Normal file
@@ -0,0 +1,11 @@
|
||||
<h1><%= @user.name %></h1>
|
||||
|
||||
<nav>
|
||||
<ul>
|
||||
<li><%= link_to "Settings", edit_user_path(@user) %></li>
|
||||
</ul>
|
||||
</nav>
|
||||
|
||||
<% content_for(:page_header) do %>
|
||||
/ <%= @user.name %>
|
||||
<% end %>
|
||||
Reference in New Issue
Block a user