Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

第2版向けに新しくページを作成した #450

Merged
merged 3 commits into from May 17, 2019

Conversation

nanophate
Copy link
Member

@nanophate nanophate commented May 17, 2019

🎫 #419

やった事

第2版向けに新しくページ /sotecsha2 を作りました。

共有までに

/sotecsha2 に新たに記事を投稿したい時は次の GIF の操作にあるように Premalink の指定が必要です。
Premalink を指定する際に、sotecsha2/[新たな記事の名前や数字] を入力する事で /sotecsha2 の一覧で表示できます。

Image from Gyazo

新しくページの作り方

  1. https://www.scrivito.com/creating-a-blog-aa95279253d763be の指示に従い。
  2. rails g scrivito:page SotechshaOverview2 を実行した
  3. Controller で premalink の制限をかけ
  4. 新たな Workspace を作り
    • Scrivito::Workspace.current = Scrivito::Workspace.create(title: "Add sotechsha2 overview")
  5. 1. で作成したモデルのパスを Scrivito の方に伝える
    • SotechshaOverview2Page..create(_permalink: "sotechsha2")

@nanophate nanophate requested a review from yasulab May 17, 2019 04:38
@yasulab yasulab temporarily deployed to coderdojo-japan-pr-450 May 17, 2019 04:38 Inactive
@yasulab
Copy link
Member

yasulab commented May 17, 2019

@nanophate ありがとうございます! @nanophate の準備の良い段階でマージしていただいて、よければ各ページのタイトルだけ流し込んでもらえると嬉しいです...!! (>人< )✨
https://coderdojo.jp/sotechsha

@nanophate
Copy link
Member Author

よければ各ページのタイトルだけ流し込んでもらえると嬉しいです...!! (>人< )✨
https://coderdojo.jp/

同じタイトルとパスで登録します👍

@yasulab yasulab temporarily deployed to coderdojo-japan-pr-450 May 17, 2019 07:20 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants