Sha256: e705faa2bd33702ab3ab30cef7682cca50d503ddeb3b748a72f9267ff5364c31

Contents?: true

Size: 246 Bytes

Versions: 23

Compression:

Stored size: 246 Bytes

Contents

class Admin::Kitsune::ModelsController < Admin::Kitsune::KitsuneController
  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

23 entries across 23 versions & 2 rubygems

Version Path
ds-kitsune-0.2.5 app/controllers/admin/kitsune/models_controller.rb
ds-kitsune-0.2.3 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.2.1 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.2.0 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.1.5 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.1.4 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.1.3 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.1.2 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.1.1 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.1.0 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.0.19 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.0.18 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.0.17 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.0.16 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.0.14 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.0.13 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.0.12 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.0.11 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.0.10 app/controllers/admin/kitsune/models_controller.rb
kitsune-0.0.9 app/controllers/admin/kitsune/models_controller.rb