# frozen_string_literal: true
class StoriesController < ApplicationController
def index
end
def show
@story = Story.find(params[:id])
@chapters = @story.chapters.order(number: :asc)