Sha256: ce6177457d27f6a67af5f84986e96e900c7cf4cc2715047cf8b81ac103a9f1d4
Contents?: true
Size: 292 Bytes
Versions: 1
Compression:
Stored size: 292 Bytes
Contents
class Admin::Kitsune::ModelsController < ApplicationController layout 'admin/kitsune' before_filter :load_model def index @models = Kitsune.models_with_admin end private def load_model @model = Kitsune::Inspector.new(params[:id].constantize) if params[:id] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
kitsune-0.0.2 | app/controllers/admin/kitsune/models_controller.rb |