Sha256: 19bf6909a86d135a65c04ab9c9dc0798b3e0ec4a7b2ca98f138637e5bacc7191
Contents?: true
Size: 508 Bytes
Versions: 6
Compression:
Stored size: 508 Bytes
Contents
class DummyModelsController < ActionController::Base before_filter :get_dummy def hide render :show end def show commontator_thread_show(@dummy_model) end def url_options return Hash.new if request.nil? super end def view_context view_context = view_context_class.new view_context.view_paths = view_paths view_context.controller = self view_context end protected def get_dummy @dummy_model = DummyModel.find(params[:id]) end end
Version data entries
6 entries across 6 versions & 1 rubygems