Flowdock
assigns(key = nil) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_dispatch/testing/test_process.rb, line 7
    def assigns(key = nil)
      assigns = {}.with_indifferent_access
      @controller.view_assigns.each { |k, v| assigns.regular_writer(k, v) }
      key.nil? ? assigns : assigns[key]
    end
Register or log in to add new notes.