Sha256: f87e55dc7f9d9798f3663ec60f198e83821bf928d900f88dbe08d9e8cd001187

Contents?: true

Size: 335 Bytes

Versions: 2

Compression:

Stored size: 335 Bytes

Contents

class DummyModelsController < ApplicationController
  before_filter :get_dummy

  def show
    #commontator_thread_show(@dummy_model)
  end

  def hide
    render :show
  end

  def url_options
    return Hash.new if request.nil?
    super
  end

  protected

  def get_dummy
    @dummy_model = DummyModel.find(params[:id])
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
commontator-5.1.0 spec/dummy/app/controllers/dummy_models_controller.rb~
commontator-4.11.0 spec/dummy/app/controllers/dummy_models_controller.rb~