Sha256: ce6a2e8d712168661be439c80cca32828134fd7ec8cc185de00e18ae4f129734

Contents?: true

Size: 461 Bytes

Versions: 4

Compression:

Stored size: 461 Bytes

Contents

module Bastion
  class BastionController < ::ApplicationController
    helper 'bastion/layout'
    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

4 entries across 4 versions & 1 rubygems

Version Path
bastion-6.1.6 app/controllers/bastion/bastion_controller.rb
bastion-6.1.5 app/controllers/bastion/bastion_controller.rb
bastion-6.1.4 app/controllers/bastion/bastion_controller.rb
bastion-6.1.3 app/controllers/bastion/bastion_controller.rb