Sha256: 90c05b0d633712ba5e6e95244135489e5bf9b482495561b5bbb1378e2e3dccda

Contents?: true

Size: 283 Bytes

Versions: 6

Compression:

Stored size: 283 Bytes

Contents

require 'addressable/uri'

class ChaptersController < ApplicationController
  include Mumuki::Laboratory::Controllers::Content
  include Mumuki::Laboratory::Controllers::ImmersiveNavigation

  def show
  end

  def subject
    @chapter ||= Chapter.find_by(id: params[:id])
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
mumuki-laboratory-8.2.1 app/controllers/chapters_controller.rb
mumuki-laboratory-8.2.0 app/controllers/chapters_controller.rb
mumuki-laboratory-8.1.3 app/controllers/chapters_controller.rb
mumuki-laboratory-8.1.2 app/controllers/chapters_controller.rb
mumuki-laboratory-8.1.1 app/controllers/chapters_controller.rb
mumuki-laboratory-8.1.0 app/controllers/chapters_controller.rb