diff options
| author | hukl <contact@smyck.org> | 2009-03-15 19:45:46 +0100 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-03-15 19:45:46 +0100 |
| commit | b7f67dc8527c6b404fa9682f07c7a1068bb83c7f (patch) | |
| tree | 050332df44494c14bd4105dc21db1a3efddd3b97 /app | |
| parent | 101734cfbd0e1220ceee1065468dbee3d9bd7e68 (diff) | |
interface interlinks
Diffstat (limited to 'app')
| -rw-r--r-- | app/views/nodes/edit.html.erb | 2 | ||||
| -rw-r--r-- | app/views/revisions/index.html.erb | 1 | ||||
| -rw-r--r-- | app/views/revisions/show.html.erb | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/app/views/nodes/edit.html.erb b/app/views/nodes/edit.html.erb index 2dade0f..577a075 100644 --- a/app/views/nodes/edit.html.erb +++ b/app/views/nodes/edit.html.erb | |||
| @@ -2,6 +2,8 @@ | |||
| 2 | <%= link_to 'Show', @node %> | 2 | <%= link_to 'Show', @node %> |
| 3 | <%= link_to 'Back', nodes_path %> | 3 | <%= link_to 'Back', nodes_path %> |
| 4 | <%= link_to 'Publish', publish_node_path, :method => :put %> | 4 | <%= link_to 'Publish', publish_node_path, :method => :put %> |
| 5 | <%= link_to 'Diff revisions', :controller => :revisions, :action => :diff, :id => params[:id] %> | ||
| 6 | |||
| 5 | </div> | 7 | </div> |
| 6 | 8 | ||
| 7 | <h1>Editing page</h1> | 9 | <h1>Editing page</h1> |
diff --git a/app/views/revisions/index.html.erb b/app/views/revisions/index.html.erb index b41a77c..e3134d7 100644 --- a/app/views/revisions/index.html.erb +++ b/app/views/revisions/index.html.erb | |||
| @@ -1,2 +1 @@ | |||
| 1 | <h1>Revisions#index</h1> | <h1>Revisions#index</h1> | |
| 2 | <p>Find me in app/views/revisions/index.html.erb</p> | ||
diff --git a/app/views/revisions/show.html.erb b/app/views/revisions/show.html.erb index c63e7e8..64979fc 100644 --- a/app/views/revisions/show.html.erb +++ b/app/views/revisions/show.html.erb | |||
| @@ -1,5 +1,6 @@ | |||
| 1 | <div id="subnavigation"> | 1 | <div id="subnavigation"> |
| 2 | <%= link_to 'Diff revisions', :action => :diff, :id => params[:id] %> | 2 | <%= link_to 'Diff revisions', :action => :diff, :id => params[:id] %> |
| 3 | <%= link_to 'Edit', edit_node_path(@node) %> | ||
| 3 | </div> | 4 | </div> |
| 4 | 5 | ||
| 5 | <h2>Revisions for Node: <%= @node.unique_name %></h2> | 6 | <h2>Revisions for Node: <%= @node.unique_name %></h2> |
