Verbesserung im moduls_controller

This commit is contained in:
Andreas Stephanides
2013-03-18 18:58:08 +01:00
parent 9e28678781
commit 96df1408a7
6 changed files with 29 additions and 5 deletions

View 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
%>