Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 9b2680cd272ed430c3f3c38bd3882e1647f9d4ba 1 parent 8cfe9bd
@Numerico Numerico authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.