Sha256: be021825ed03355d5cde0e1a6c4a9403001e0270f2e5d75484d23f21c8b41343

Contents?: true

Size: 433 Bytes

Versions: 3

Compression:

Stored size: 433 Bytes

Contents

module Bastion
  class BastionController < ::ApplicationController
    skip_before_filter :authorize

    # prevent Foreman routes from being incorrectly generated (don't use the Bastion url_helpers)
    include Rails.application.routes.url_helpers

    def index
      render 'bastion/layouts/application', :layout => false
    end

    def index_ie
      render 'bastion/layouts/application_ie', :layout => false
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
bastion-6.1.2 app/controllers/bastion/bastion_controller.rb
bastion-6.1.1 app/controllers/bastion/bastion_controller.rb
bastion-6.1.0 app/controllers/bastion/bastion_controller.rb