diff options
| author | hukl <contact@smyck.org> | 2009-05-01 17:40:44 +0200 |
|---|---|---|
| committer | hukl <contact@smyck.org> | 2009-05-01 17:40:44 +0200 |
| commit | 7ae0d9df9fa5a25d24fae68af0411f323dc6decf (patch) | |
| tree | e7f966838437abf14a44a0b74048d0b1f81b88d7 /app/views | |
| parent | fed2a4c96e89986275faea6bf8cf20453cdfe5b5 (diff) | |
linking to the referrer url in preview mode
Diffstat (limited to 'app/views')
| -rw-r--r-- | app/views/nodes/_preview.html.erb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/nodes/_preview.html.erb b/app/views/nodes/_preview.html.erb index e8d7b9f..43e66a2 100644 --- a/app/views/nodes/_preview.html.erb +++ b/app/views/nodes/_preview.html.erb | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | <div id="preview_disclaimer"> | 1 | <div id="preview_disclaimer"> |
| 2 | <strong>Preview draft.</strong> | 2 | <strong>Preview draft.</strong> |
| 3 | Clicking on links will redirected you to the public site. | 3 | Clicking on links will redirected you to the public site. |
| 4 | <%= link_to 'Back to admin interface', nodes_path %> | 4 | <%= link_to 'Back to admin interface', request.env['HTTP_REFERER'] %> |
| 5 | </div \ No newline at end of file | 5 | </div \ No newline at end of file |
