Sha256: 60347db82fb8eec2dbabcabd74fc385c44a72f9d4fabc853cbcaf6163375b1ca

Contents?: true

Size: 196 Bytes

Versions: 6

Compression:

Stored size: 196 Bytes

Contents

class Admin::AdminController < SlicesController
  before_filter :authenticate_admin!

  protected

  def presenter_class(page_class)
    Object.const_get("#{page_class.name}Presenter")
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
slices-1.0.5 app/controllers/admin/admin_controller.rb
slices-1.0.4 app/controllers/admin/admin_controller.rb
slices-1.0.3 app/controllers/admin/admin_controller.rb
slices-1.0.2 app/controllers/admin/admin_controller.rb
slices-1.0.1 app/controllers/admin/admin_controller.rb
slices-1.0.0 app/controllers/admin/admin_controller.rb