summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-02-21 14:38:14 +0100
committerhukl <contact@smyck.org>2009-02-21 14:38:14 +0100
commit4c3d622b3795836e1e7be4df303ee256a88b2812 (patch)
treee644596d27e4943477a76ab516ed50a1d63a2ab2 /app/views
parent6eb546b6cbd2fa39d2663ab83b44fbde10507d70 (diff)
adding @node filter for publish action and setting
a new member route for the nodes resource so that a put request on /nodes/id/publish will publish the current draft of a node
Diffstat (limited to 'app/views')
-rw-r--r--app/views/nodes/edit.html.erb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb
index 6848dfb..f457bc7 100644
--- a/app/views/nodes/edit.html.erb
+++ b/app/views/nodes/edit.html.erb
@@ -1,5 +1,7 @@
1<h1>Nodes#edit</h1> 1<h1>Nodes#edit</h1>
2 2
3<%= link_to 'Publish', publish_node_path, :method => :put %>
4
3<h1>Editing page</h1> 5<h1>Editing page</h1>
4 6
5<%= I18n.locale %> 7<%= I18n.locale %>