Skip to content

Commit

Permalink
removed rails 3.2.3 deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Margus committed Apr 17, 2012
1 parent 0f47921 commit 02c5db9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/airbrake/rails/javascript_notifier.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def self.included(base) #:nodoc:
def airbrake_javascript_notifier
return unless Airbrake.configuration.public?

path = File.join File.dirname(__FILE__), '..', '..', 'templates', 'javascript_notifier.erb'
path = File.join File.dirname(__FILE__), '..', '..', 'templates', 'javascript_notifier'
host = Airbrake.configuration.host.dup
port = Airbrake.configuration.port
host << ":#{port}" unless [80, 443].include?(port)
Expand Down

0 comments on commit 02c5db9

Please sign in to comment.