Browse files

updated deprecated class

this removes:
DEPRECATION WARNING: cl is deprecated and will be removed, use ActionDispatch::Integration instead.
(called from form_url at ~/.rvm/gems/ruby-2.0.0-p353/bundler/gems/turkee-8c37590970e0/lib/models/turkee_task.rb:261)
  • Loading branch information...
1 parent 8cfe9bd commit 9b2680cd272ed430c3f3c38bd3882e1647f9d4ba @Numerico Numerico committed Dec 20, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/models/turkee_task.rb
View
2 lib/models/turkee_task.rb
@@ -244,7 +244,7 @@ def self.build_url(host, model, params, opts)
# Returns the default url of the model's :new route
def self.form_url(host, typ, params = {})
- @app ||= ActionController::Integration::Session.new(Rails.application)
+ @app ||= ActionDispatch::Integration::Session.new(Rails.application)
url = (host + @app.send("new_#{typ.to_s.underscore}_path"))
full_url(url, params)
end

0 comments on commit 9b2680c

Please sign in to comment.