Commit d92446df authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Merge pull request #982 from JamesEarlDouglas/mailer-controller-typo

fix typo: 'avaialble' -> 'available'
parents 0321a3c9 69ba86e8
...@@ -22,7 +22,7 @@ class Admin::MailerController < ApplicationController ...@@ -22,7 +22,7 @@ class Admin::MailerController < ApplicationController
render :file => 'notify/note_wall_email', :layout => 'notify' render :file => 'notify/note_wall_email', :layout => 'notify'
end end
rescue rescue
render :text => "Preview not avaialble" render :text => "Preview not available"
end end
def preview_user_new def preview_user_new
...@@ -31,7 +31,7 @@ class Admin::MailerController < ApplicationController ...@@ -31,7 +31,7 @@ class Admin::MailerController < ApplicationController
render :file => 'notify/new_user_email', :layout => 'notify' render :file => 'notify/new_user_email', :layout => 'notify'
rescue rescue
render :text => "Preview not avaialble" render :text => "Preview not available"
end end
def preview_issue_new def preview_issue_new
...@@ -40,6 +40,6 @@ class Admin::MailerController < ApplicationController ...@@ -40,6 +40,6 @@ class Admin::MailerController < ApplicationController
@project = @issue.project @project = @issue.project
render :file => 'notify/new_issue_email', :layout => 'notify' render :file => 'notify/new_issue_email', :layout => 'notify'
rescue rescue
render :text => "Preview not avaialble" render :text => "Preview not available"
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment