Sha256: a7edaee7a7f3dd536a594533c8e308241622d7bfb79a712dd68104cad6e20f75

Contents?: true

Size: 161 Bytes

Versions: 9

Compression:

Stored size: 161 Bytes

Contents

module DocumentationSupport
  extend ActiveSupport::Concern

  def docs
    @file = params[:page].presence || "index"
    render :docs, layout: "docs"
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
bullet_train-1.0.33 app/controllers/concerns/documentation_support.rb
bullet_train-1.0.32 app/controllers/concerns/documentation_support.rb
bullet_train-1.0.31 app/controllers/concerns/documentation_support.rb
bullet_train-1.0.30 app/controllers/concerns/documentation_support.rb
bullet_train-1.0.29 app/controllers/concerns/documentation_support.rb
bullet_train-1.0.28 app/controllers/concerns/documentation_support.rb
bullet_train-1.0.27 app/controllers/concerns/documentation_support.rb
bullet_train-1.0.26 app/controllers/concerns/documentation_support.rb
bullet_train-1.0.25 app/controllers/concerns/documentation_support.rb