]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/notifier/message_notification.text.erb
Move a chunk of non-markup ruby code from a view to the controller
[rails.git] / app / views / notifier / message_notification.text.erb
index c91c68be683e67e402e82457e161eaf292945458..10a9ff361ea7d7d449d63b2858ca422a4ec3abcf 100644 (file)
@@ -1,10 +1,10 @@
-<%= t'notifier.message_notification.hi', :to_user => @to_user %> 
+<%= raw t'notifier.message_notification.hi', :to_user => @to_user %> 
 
-<%= t'notifier.message_notification.header', :from_user => @from_user, :subject => @title %>
+<%= raw t'notifier.message_notification.header', :from_user => @from_user, :subject => @title %>
 
 ==
-<%= @text %>
+<%= raw @text.to_text %>
 ==
 
-<%= t'notifier.message_notification.footer1', :readurl => @readurl %>
-<%= t'notifier.message_notification.footer2', :replyurl => @replyurl %>
+<%= raw t'notifier.message_notification.footer1', :readurl => @readurl %>
+<%= raw t'notifier.message_notification.footer2', :replyurl => @replyurl %>