mirror of
https://github.com/Neetpone/foalfetch.git
synced 2025-02-08 18:06:43 +01:00
10 lines
177 B
Ruby
10 lines
177 B
Ruby
|
class StoriesController < ApplicationController
|
||
|
def index
|
||
|
end
|
||
|
|
||
|
def show
|
||
|
@story = Story.find(params[:id])
|
||
|
@chapters = @story.chapters.order(number: :asc)
|
||
|
end
|
||
|
end
|