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

create controller #3

Merged
merged 2 commits into from
Sep 9, 2019
Merged

create controller #3

merged 2 commits into from
Sep 9, 2019

Conversation

kalupas226
Copy link
Collaborator

No description provided.

Copy link
Contributor

@ebijun1007 ebijun1007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

@@ -0,0 +1,3 @@
# Place all the behaviors and hooks related to the matching controller here.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

coffeeスクリプトは使わないので消しましょうか

config/routes.rb Outdated
@@ -1,3 +1,9 @@
Rails.application.routes.draw do
get 'users/show'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

routingはcollection使うと綺麗に書けます
https://techracho.bpsinc.jp/baba/2014_03_03/15619

そういえばindexアクション忘れてたので追加よろしこ

@@ -0,0 +1,19 @@
require 'test_helper'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

テストも多分しないので消しちゃいましょうか

@kalupas226 kalupas226 merged commit 5478d16 into master Sep 9, 2019
@kalupas226 kalupas226 deleted the create_controller branch September 14, 2019 06:56
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.

2 participants