Sha256: 0bffc9d39e8dfd0ba285ceefa04f07a543d2fc92346d6f6d1bf24fbc6d22f2aa

Contents?: true

Size: 403 Bytes

Versions: 6

Compression:

Stored size: 403 Bytes

Contents

module Ems
  class EmsController < ApplicationController
    skip_authorization_check :only => [:index]

    def index
      # Workaround for active admin routing problem.
      # see:
      # http://stackoverflow.com/questions/10684566/mountable-engine-routing-with-active-admin-on-rails
      # TODO find a nicer solution for this problem.
      render :layout => 'ems/application'
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ems-0.1.12 app/controllers/ems/ems_controller.rb
ems-0.1.11 app/controllers/ems/ems_controller.rb
ems-0.1.10 app/controllers/ems/ems_controller.rb
ems-0.1.9 app/controllers/ems/ems_controller.rb
ems-0.1.8 app/controllers/ems/ems_controller.rb
ems-0.1.7 app/controllers/ems/ems_controller.rb