diff --git a/app/views/mailer/news_added.text.html.rhtml b/app/views/mailer/news_added.text.html.rhtml new file mode 100644 index 000000000..7de6f48e8 --- /dev/null +++ b/app/views/mailer/news_added.text.html.rhtml @@ -0,0 +1,4 @@ +<%= link_to @news.title, :only_path => false, :host => Setting.host_name, :controller => 'news', :action => 'show', :id => @news %>
+<%= @news.author.name %> + +<%= textilizable(@news.description) %> diff --git a/app/views/mailer/news_added.rhtml b/app/views/mailer/news_added.text.plain.rhtml similarity index 99% rename from app/views/mailer/news_added.rhtml rename to app/views/mailer/news_added.text.plain.rhtml index 18ddfe17d..7ee24b10a 100644 --- a/app/views/mailer/news_added.rhtml +++ b/app/views/mailer/news_added.text.plain.rhtml @@ -3,4 +3,3 @@ <%= @news.author.name %> <%= @news.description %> -