Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🎫 #419
やった事
第2版向けに新しくページ
/sotecsha2
を作りました。共有までに
/sotecsha2
に新たに記事を投稿したい時は次の GIF の操作にあるように Premalink の指定が必要です。Premalink を指定する際に、
sotecsha2/[新たな記事の名前や数字]
を入力する事で/sotecsha2
の一覧で表示できます。新しくページの作り方
rails g scrivito:page SotechshaOverview2
を実行したcoderdojo.jp/app/controllers/sotechsha_overview_page_controller.rb
Line 5 in ec9c2a0
Scrivito::Workspace.current = Scrivito::Workspace.create(title: "Add sotechsha2 overview")
1.
で作成したモデルのパスを Scrivito の方に伝えるSotechshaOverview2Page..create(_permalink: "sotechsha2")