Commit ba4056e112e4d0af837d228be8b2eda6059dc0ce
1 parent
13dfd2df
Exists in
master
and in
1 other branch
typo
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
app/controllers/apps_controller.rb
... | ... | @@ -102,7 +102,7 @@ class AppsController < ApplicationController |
102 | 102 | # set the app's notification service |
103 | 103 | if params[:app][:notification_service_attributes] && notification_type = params[:app][:notification_service_attributes][:type] |
104 | 104 | available_notification_classes = [NotificationService] + NotificationService.subclasses |
105 | - notification_class = available_notification_classes.detect{|c| c.name == tracker_type} | |
105 | + notification_class = available_notification_classes.detect{|c| c.name == notification_type} | |
106 | 106 | if !notification_class.nil? |
107 | 107 | app.notification_service = notification_class.new(params[:app][:notification_service_attributes]) |
108 | 108 | end | ... | ... |