Sha256: ffa11399bd06f2326f8710eecb6c9181626d49e9aa193edd6581af56c5d2f3f2

Contents?: true

Size: 190 Bytes

Versions: 12

Compression:

Stored size: 190 Bytes

Contents

class Admin::ViewsController < Admin::ResourcesController

  def set_context
    @resource = Site.find_by_domain(request.host).send(@object_name.pluralize)
  end
  private :set_context

end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
typus-3.0.11.rc5 test/fixtures/rails_app/app/controllers/admin/views_controller.rb
typus-3.0.11.rc4 test/fixtures/rails_app/app/controllers/admin/views_controller.rb
typus-3.0.11.rc3 test/fixtures/rails_app/app/controllers/admin/views_controller.rb
typus-3.1.0.rc7 test/fixtures/rails_app/app/controllers/admin/views_controller.rb
typus-3.1.0.rc6 test/fixtures/rails_app/app/controllers/admin/views_controller.rb
typus-3.1.0.rc5 test/fixtures/rails_app/app/controllers/admin/views_controller.rb
typus-3.1.0.rc4 test/fixtures/rails_app/app/controllers/admin/views_controller.rb
typus-3.1.0.rc3 test/fixtures/rails_app/app/controllers/admin/views_controller.rb
typus-3.1.0.rc2 test/fixtures/rails_app/app/controllers/admin/views_controller.rb
typus-3.0.11.rc2 test/fixtures/rails_app/app/controllers/admin/views_controller.rb
typus-3.0.11.rc1 test/fixtures/rails_app/app/controllers/admin/views_controller.rb
typus-3.1.0.rc1 test/fixtures/rails_app/app/controllers/admin/views_controller.rb