Skip to content
This repository has been archived by the owner on Sep 18, 2018. It is now read-only.

Create and view lesson #9

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

itssomething
Copy link
Contributor

No description provided.

@itssomething itssomething changed the title Lesson Create and view lesson Aug 16, 2018

def create
@lesson = Lesson.new lesson_params
@lesson.user_id = 1
Copy link
Contributor Author

Choose a reason for hiding this comment

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

vì chưa có user log in log out nên em để tạm user_id là 1

@itssomething
Copy link
Contributor Author

screenshot from 2018-08-17 00-24-36

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant