Sha256: 642220a2f55449b4859d6a6f996cca4ace0c1058e29094f68d67366ab95a024c

Contents?: true

Size: 203 Bytes

Versions: 9

Compression:

Stored size: 203 Bytes

Contents

class ::Tramway::Page::PagesController < ::Tramway::Page::ApplicationController
  layout 'tramway/landing/application'

  def show
    @page = ::Tramway::Page::Page.find_by slug: params[:slug]
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
tramway-page-1.3 app/controllers/tramway/page/pages_controller.rb
tramway-page-1.2.2 app/controllers/tramway/page/pages_controller.rb
tramway-page-1.2.1 app/controllers/tramway/page/pages_controller.rb
tramway-page-1.2 app/controllers/tramway/page/pages_controller.rb
tramway-page-1.1.3 app/controllers/tramway/page/pages_controller.rb
tramway-page-1.1.2 app/controllers/tramway/page/pages_controller.rb
tramway-page-1.1.1 app/controllers/tramway/page/pages_controller.rb
tramway-page-1.1 app/controllers/tramway/page/pages_controller.rb
tramway-page-1.0.0 app/controllers/tramway/page/pages_controller.rb