Verbesserung im moduls_controller
This commit is contained in:
9
app/views/pages/show.html.erb
Normal file
9
app/views/pages/show.html.erb
Normal file
@@ -0,0 +1,9 @@
|
||||
<%= breadcrumbs(@page) %>
|
||||
<hr>
|
||||
<h1><%= @page.name %></h1>
|
||||
<%= raw(@page.content)%>
|
||||
<hr />
|
||||
<%= link_to '(Edit)', edit_page_path(@page)%>
|
||||
<%= link_to '(Destroy)', @page, :remote => true, :confirm => 'Are you sure?', :method => :delete
|
||||
|
||||
%>
|
||||
Reference in New Issue
Block a user