summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorhukl <contact@smyck.org>2009-05-01 17:40:44 +0200
committerhukl <contact@smyck.org>2009-05-01 17:40:44 +0200
commit7ae0d9df9fa5a25d24fae68af0411f323dc6decf (patch)
treee7f966838437abf14a44a0b74048d0b1f81b88d7 /app/views
parentfed2a4c96e89986275faea6bf8cf20453cdfe5b5 (diff)
linking to the referrer url in preview mode
Diffstat (limited to 'app/views')
-rw-r--r--app/views/nodes/_preview.html.erb2
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