Signup
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
-
-
-
-
merged
Toggle commit list -
resolved all discussions
Toggle commit list
Step 1. Fetch and check out the branch for this merge request
git fetch origin git checkout -b signup origin/signup
Step 2. Review the changes locally
Step 3. Merge the branch and fix any conflicts that come up
git checkout master git merge --no-ff signup
Step 4. Push the result of the merge to GitLab
git push origin master
Note that pushing to GitLab requires write access to this repository.
Tip: You can also checkout merge requests locally by following these guidelines.
| 1 | 1 | class UsersController < ApplicationController |
| 2 | ||
| 3 | def show | |
| 4 | @user = User.find(params[:id]) | |
| 5 | end | |
| 6 | ||
| 2 | 7 | def new |
| 8 | @user = User.new | |
| 9 | end | |
| 10 | ||
| 11 | def create | |
| 12 | @user = User.new(user_params) | |
| 13 | if @user.save | |
| 14 | redirect_to @user | |
| 15 | flash[:success] = "Welcome to the Sample App!" | |
| 16 | else | |
Please
register
or
sign in
to reply
|
||
| 1 | 1 | class UsersController < ApplicationController |
| 2 | ||
| 3 | def show | |
| 4 | @user = User.find(params[:id]) | |
|
||
added 1 commit
mentioned in commit c52b154e
mentioned in commit c52b154e
merged
merged
resolved all discussions
resolved all discussions