Sha256: e73840eca0558b092cecda7e9161d83f6a45e15da294582852fa809f9383cbaf

Contents?: true

Size: 248 Bytes

Versions: 11

Compression:

Stored size: 248 Bytes

Contents

class ApplicationController < ActionController::Base
  include Clearance::Controller

  def show
    if Rails::VERSION::MAJOR >= 5
      render html: "", layout: "application"
    else
      render text: "", layout: "application"
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
clearance-2.0.0.beta1 spec/dummy/app/controllers/application_controller.rb
clearance-1.17.0 spec/dummy/app/controllers/application_controller.rb
clearance-1.16.2 spec/dummy/app/controllers/application_controller.rb
clearance-1.16.1 spec/dummy/app/controllers/application_controller.rb
clearance-1.16.0 spec/dummy/app/controllers/application_controller.rb
clearance-1.15.1 spec/dummy/app/controllers/application_controller.rb
clearance-1.15.0 spec/dummy/app/controllers/application_controller.rb
clearance-1.14.2 spec/dummy/app/controllers/application_controller.rb
clearance-1.14.1 spec/dummy/app/controllers/application_controller.rb
clearance-1.14.0 spec/dummy/app/controllers/application_controller.rb
clearance-1.13.0 spec/dummy/app/controllers/application_controller.rb