added virtuals
This commit is contained in:
10
app/views/virtuals/show.html.erb
Normal file
10
app/views/virtuals/show.html.erb
Normal file
@@ -0,0 +1,10 @@
|
||||
<p style="color: green"><%= notice %></p>
|
||||
|
||||
<%= render @virtual %>
|
||||
|
||||
<div>
|
||||
<%= link_to "Edit this virtual", edit_virtual_path(@virtual) %> |
|
||||
<%= link_to "Back to virtuals", virtuals_path %>
|
||||
|
||||
<%= button_to "Destroy this virtual", @virtual, method: :delete %>
|
||||
</div>
|
||||
Reference in New Issue
Block a user