From 9c9ccc429daaa247d5449e0cd435276cd6da0a5d Mon Sep 17 00:00:00 2001 From: Eugene Korbut Date: Sun, 8 Feb 2009 06:06:12 +1000 Subject: [PATCH] links on message page (back to list, reply, forward) --- .gitignore | 1 + app/controllers/webmail_controller.rb | 4 ++-- app/views/webmail/message.rhtml | 2 +- components/webmail/cdfmail.rb | 14 +++++++------- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/.gitignore b/.gitignore index ea9db41..6d57af1 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,4 @@ config/database.yml .*.sw? config/site.rb tmp +mail_temp diff --git a/app/controllers/webmail_controller.rb b/app/controllers/webmail_controller.rb index 4e10da9..236945f 100644 --- a/app/controllers/webmail_controller.rb +++ b/app/controllers/webmail_controller.rb @@ -124,7 +124,7 @@ class WebmailController < ApplicationController @mail = prepare_mail @mail.reply(@tmail, fb, get_mail_prefs.mail_type) - render_action("compose") + render :action => 'compose' end def forward @@ -136,7 +136,7 @@ class WebmailController < ApplicationController @mail = prepare_mail @mail.forward(@tmail, fb) - render_action("compose") + render :action => 'compose' end def compose diff --git a/app/views/webmail/message.rhtml b/app/views/webmail/message.rhtml index 97d957f..58131f6 100644 --- a/app/views/webmail/message.rhtml +++ b/app/views/webmail/message.rhtml @@ -30,7 +30,7 @@