Sha256: bef1f2e2a7f342cd5992b4778f0cfa81cf24dc16627c570337fe5ead654f33c9
Contents?: true
Size: 369 Bytes
Versions: 2
Compression:
Stored size: 369 Bytes
Contents
Tim::BaseImagesController.class_eval do before_filter :set_test_location, :only => :respond_options_test def respond_options_test @base_image = Tim::BaseImage.find(params[:id]) unless defined? @base_image respond_with(@base_image, @respond_options) end private def set_test_location @respond_options = {:location => tim.templates_path} end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tim-0.3.0 | test/dummy/app/decorators/tim/controllers/base_images_controller_decorator.rb |
tim-0.2.0 | test/dummy/app/decorators/tim/controllers/base_images_controller_decorator.rb |