[aeolus-incubator/tim] b7de73: Added respond_options to controllers

jguiditta jguiditt at redhat.com
Tue Dec 11 16:40:17 UTC 2012


  Branch: refs/heads/master
  Home:   https://github.com/aeolus-incubator/tim
  Commit: b7de73f5f6827bdaedda1fcc2097bb11c25ac59c
      https://github.com/aeolus-incubator/tim/commit/b7de73f5f6827bdaedda1fcc2097bb11c25ac59c
  Author: Martyn Taylor <mtaylor at redhat.com>
  Date:   2012-12-11 (Tue, 11 Dec 2012)

  Changed paths:
    M app/controllers/tim/application_controller.rb
    M app/controllers/tim/base_images_controller.rb
    M app/controllers/tim/image_versions_controller.rb
    M app/controllers/tim/provider_images_controller.rb
    M app/controllers/tim/target_images_controller.rb
    M app/controllers/tim/templates_controller.rb
    M lib/tim/engine.rb
    A test/dummy/app/decorators/tim/controllers/base_images_controller_decorator.rb
    M test/dummy/config/initializers/tim.rb
    M test/dummy/config/routes.rb

  Log Message:
  -----------
  Added respond_options to controllers

This allows the host application more control over the behaviour of the
respond with method.  For example, the host application can specify the
:location key which will determine where to redirect if the action is
successfuly.


  Commit: 2b3c1b07aefed0f701c9723801f90d4522004251
      https://github.com/aeolus-incubator/tim/commit/2b3c1b07aefed0f701c9723801f90d4522004251
  Author: jguiditta <jguiditt at redhat.com>
  Date:   2012-12-11 (Tue, 11 Dec 2012)

  Changed paths:
    M app/controllers/tim/application_controller.rb
    M app/controllers/tim/base_images_controller.rb
    M app/controllers/tim/image_versions_controller.rb
    M app/controllers/tim/provider_images_controller.rb
    M app/controllers/tim/target_images_controller.rb
    M app/controllers/tim/templates_controller.rb
    M lib/tim/engine.rb
    A test/dummy/app/decorators/tim/controllers/base_images_controller_decorator.rb
    M test/dummy/config/initializers/tim.rb
    M test/dummy/config/routes.rb

  Log Message:
  -----------
  Merge pull request #66 from mtaylor/respond_options

Add respond_options global var to controllers respond_with method


Compare: https://github.com/aeolus-incubator/tim/compare/05c32c50a69d...2b3c1b07aefe


More information about the aeolus-devel mailing list