Sha256: d634b6f0aab3e9bd995a1e29283f692b6c533f4cd43e6f90a41a6314688e5a30

Contents?: true

Size: 250 Bytes

Versions: 3

Compression:

Stored size: 250 Bytes

Contents

class Admin::Kitsune::ModelsController < Admin::Kitsune::ApplicationController
  layout 'admin/kitsune'
  
  before_filter :load_model
  
  private
  def load_model
    @model = Kitsune::Inspector.new(params[:id].constantize) if params[:id]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
kitsune-0.0.5 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.0.4 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.0.3 app/controllers/admin/kitsune/models_controller.rb