diff options
Diffstat (limited to 'participate.rb')
-rwxr-xr-x | participate.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/participate.rb b/participate.rb index 5153f0d..6b37fae 100755 --- a/participate.rb +++ b/participate.rb @@ -55,8 +55,8 @@ end if edit $d.html.header["status"] = "REDIRECT" $d.html.header["Cache-Control"] = "no-cache" - $d.html.header["Location"] = SITEURL - $d << _("The changes were saved, you should be redirected to %{link}.") % {:link => "<a href=\"#{SITEURL}\">#{SITEURL}</a>"} + $d.html.header["Location"] = $conf.siteurl + $d << _("The changes were saved, you should be redirected to %{link}.") % {:link => "<a href=\"#{$conf.siteurl}\">#{$conf.siteurl}</a>"} else |