Commit d92446df1fdba87101c92c90b1c34eb2f1eebef4
Exists in
master
and in
4 other branches
Merge pull request #982 from JamesEarlDouglas/mailer-controller-typo
fix typo: 'avaialble' -> 'available'
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
app/controllers/admin/mailer_controller.rb
| @@ -22,7 +22,7 @@ class Admin::MailerController < ApplicationController | @@ -22,7 +22,7 @@ class Admin::MailerController < ApplicationController | ||
| 22 | render :file => 'notify/note_wall_email', :layout => 'notify' | 22 | render :file => 'notify/note_wall_email', :layout => 'notify' |
| 23 | end | 23 | end |
| 24 | rescue | 24 | rescue |
| 25 | - render :text => "Preview not avaialble" | 25 | + render :text => "Preview not available" |
| 26 | end | 26 | end |
| 27 | 27 | ||
| 28 | def preview_user_new | 28 | def preview_user_new |
| @@ -31,7 +31,7 @@ class Admin::MailerController < ApplicationController | @@ -31,7 +31,7 @@ class Admin::MailerController < ApplicationController | ||
| 31 | 31 | ||
| 32 | render :file => 'notify/new_user_email', :layout => 'notify' | 32 | render :file => 'notify/new_user_email', :layout => 'notify' |
| 33 | rescue | 33 | rescue |
| 34 | - render :text => "Preview not avaialble" | 34 | + render :text => "Preview not available" |
| 35 | end | 35 | end |
| 36 | 36 | ||
| 37 | def preview_issue_new | 37 | def preview_issue_new |
| @@ -40,6 +40,6 @@ class Admin::MailerController < ApplicationController | @@ -40,6 +40,6 @@ class Admin::MailerController < ApplicationController | ||
| 40 | @project = @issue.project | 40 | @project = @issue.project |
| 41 | render :file => 'notify/new_issue_email', :layout => 'notify' | 41 | render :file => 'notify/new_issue_email', :layout => 'notify' |
| 42 | rescue | 42 | rescue |
| 43 | - render :text => "Preview not avaialble" | 43 | + render :text => "Preview not available" |
| 44 | end | 44 | end |
| 45 | end | 45 | end |