summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLogan Fick <logaldeveloper@protonmail.com>2017-07-31 19:24:39 -0400
committerLogan Fick <logaldeveloper@protonmail.com>2017-07-31 19:24:39 -0400
commite5e8caf38e6c97ccc83cebcf5278e9e757d94681 (patch)
tree5b4e61bfb7ea52ced2c7702342a36f5ba360500a
parent5f17385343a357ab8beb2546bd7eee55b1e84567 (diff)
Fixed staff link in emails going to wrong URL.
-rw-r--r--app/views/redstoner_mailer/email_change_confirm_mail.html.erb4
-rw-r--r--app/views/redstoner_mailer/new_post_comment_mail.html.erb4
-rw-r--r--app/views/redstoner_mailer/new_post_mention_mail.html.erb4
-rw-r--r--app/views/redstoner_mailer/new_thread_mention_mail.html.erb4
-rw-r--r--app/views/redstoner_mailer/new_thread_reply_mail.html.erb4
-rw-r--r--app/views/redstoner_mailer/register_mail.html.erb4
6 files changed, 12 insertions, 12 deletions
diff --git a/app/views/redstoner_mailer/email_change_confirm_mail.html.erb b/app/views/redstoner_mailer/email_change_confirm_mail.html.erb
index 33e853a..37a5fbe 100644
--- a/app/views/redstoner_mailer/email_change_confirm_mail.html.erb
+++ b/app/views/redstoner_mailer/email_change_confirm_mail.html.erb
@@ -13,7 +13,7 @@
</div>
<p></p>
- <p>If you have any questions or problems, just ask one of our <%= link_to "Staff", users_url(role: "staff"), style: "text-decoration: none; color: #4096EE;" %> in-game.</p>
+ <p>If you have any questions or problems, just ask one of our <%= link_to "Staff", users_url(staff: ""), style: "text-decoration: none; color: #4096EE;" %> in-game.</p>
<p>Your Redstoner team</p>
</div>
@@ -30,4 +30,4 @@
</p>
</div>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/app/views/redstoner_mailer/new_post_comment_mail.html.erb b/app/views/redstoner_mailer/new_post_comment_mail.html.erb
index 8936087..6726535 100644
--- a/app/views/redstoner_mailer/new_post_comment_mail.html.erb
+++ b/app/views/redstoner_mailer/new_post_comment_mail.html.erb
@@ -14,7 +14,7 @@
%>
<p><%= link_to "Click here", blogpost_url(@comment.blogpost, page: page) + "#comment-#{@comment.id}", style: "text-decoration: none; color: #4096EE;" %> to view the blog post.</p>
- <p>If you have any questions or problems, just ask one of our <%= link_to "Staff", users_url(role: "staff"), style: "text-decoration: none; color: #4096EE;" %> in-game or on the forums!</p>
+ <p>If you have any questions or problems, just ask one of our <%= link_to "Staff", users_url(staff: ""), style: "text-decoration: none; color: #4096EE;" %> in-game or on the forums!</p>
<p>Your Redstoner team</p>
</div>
@@ -29,4 +29,4 @@
</p>
</div>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/app/views/redstoner_mailer/new_post_mention_mail.html.erb b/app/views/redstoner_mailer/new_post_mention_mail.html.erb
index 5119e7c..aef3eef 100644
--- a/app/views/redstoner_mailer/new_post_mention_mail.html.erb
+++ b/app/views/redstoner_mailer/new_post_mention_mail.html.erb
@@ -10,7 +10,7 @@
<p><%= link_to "Click here", blogpost_url(@post), style: "text-decoration: none; color: #4096EE;" %> to view the blog post.</p>
- <p>If you have any questions or problems, just ask one of our <%= link_to "Staff", users_url(role: "staff"), style: "text-decoration: none; color: #4096EE;" %> in-game or on the forums!</p>
+ <p>If you have any questions or problems, just ask one of our <%= link_to "Staff", users_url(staff: ""), style: "text-decoration: none; color: #4096EE;" %> in-game or on the forums!</p>
<p>Your Redstoner team</p>
</div>
@@ -26,4 +26,4 @@
</p>
</div>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/app/views/redstoner_mailer/new_thread_mention_mail.html.erb b/app/views/redstoner_mailer/new_thread_mention_mail.html.erb
index 701901e..2aeaf0b 100644
--- a/app/views/redstoner_mailer/new_thread_mention_mail.html.erb
+++ b/app/views/redstoner_mailer/new_thread_mention_mail.html.erb
@@ -11,7 +11,7 @@
<p><%= link_to "Click here", forumthread_url(@thread), style: "text-decoration: none; color: #4096EE;" %> to view the thread.</p>
- <p>If you have any questions or problems, just ask one of our <%= link_to "Staff", users_url(role: "staff"), style: "text-decoration: none; color: #4096EE;" %> in-game or on the forums!</p>
+ <p>If you have any questions or problems, just ask one of our <%= link_to "Staff", users_url(staff: ""), style: "text-decoration: none; color: #4096EE;" %> in-game or on the forums!</p>
<p>Your Redstoner team</p>
</div>
@@ -28,4 +28,4 @@
</p>
</div>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/app/views/redstoner_mailer/new_thread_reply_mail.html.erb b/app/views/redstoner_mailer/new_thread_reply_mail.html.erb
index eadd4f9..4081f05 100644
--- a/app/views/redstoner_mailer/new_thread_reply_mail.html.erb
+++ b/app/views/redstoner_mailer/new_thread_reply_mail.html.erb
@@ -15,7 +15,7 @@
%>
<p><%= link_to "Click here", forumthread_url(@reply.thread, page: page) + "#reply-#{@reply.id}", style: "text-decoration: none; color: #4096EE;" %> to view the thread.</p>
- <p>If you have any questions or problems, just ask one of our <%= link_to "Staff", users_url(role: "staff"), style: "text-decoration: none; color: #4096EE;" %> in-game or on the forums!</p>
+ <p>If you have any questions or problems, just ask one of our <%= link_to "Staff", users_url(staff: ""), style: "text-decoration: none; color: #4096EE;" %> in-game or on the forums!</p>
<p>Your Redstoner team</p>
</div>
@@ -30,4 +30,4 @@
<%= link_to "Email", "mailto:redstonerserver+website@gmail.com", style: "text-decoration: none; color: #4096EE;" %>
</p>
</div>
-</div> \ No newline at end of file
+</div>
diff --git a/app/views/redstoner_mailer/register_mail.html.erb b/app/views/redstoner_mailer/register_mail.html.erb
index 3e09a1e..35ccad9 100644
--- a/app/views/redstoner_mailer/register_mail.html.erb
+++ b/app/views/redstoner_mailer/register_mail.html.erb
@@ -25,7 +25,7 @@
</div>
<p></p>
- <p>If you have any questions or problems, just ask one of our <%= link_to "Staff", users_url(role: "staff"), style: "text-decoration: none; color: #4096EE;" %> in-game.</p>
+ <p>If you have any questions or problems, just ask one of our <%= link_to "Staff", users_url(staff: ""), style: "text-decoration: none; color: #4096EE;" %> in-game.</p>
<p>Your Redstoner team</p>
</div>
@@ -42,4 +42,4 @@
</p>
</div>
</div>
-</div> \ No newline at end of file
+</div>