Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
sample_app
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Đường Sỹ Hoàng
sample_app
Commits
e4cbd8cd
Commit
e4cbd8cd
authored
Nov 19, 2019
by
Đường Sỹ Hoàng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed indetation, double quote
parent
0b5679e5
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
0 additions
and
22 deletions
+0
-22
app/assets/stylesheets/custom.scss
+0
-0
app/controllers/users_controller.rb
+0
-1
app/helpers/sessions_helper.rb
+0
-2
app/views/users/_form.html.erb
+0
-0
app/views/users/_user.html.erb
+0
-0
app/views/users/index.html.erb
+0
-0
app/views/users/new.html.erb
+0
-19
db/seeds.rb
+0
-0
test/fixtures/users.yml
+0
-0
test/integration/users_edit_test.rb
+0
-0
test/integration/users_index_test.rb
+0
-0
No files found.
app/assets/stylesheets/custom.scss
View file @
e4cbd8cd
app/controllers/users_controller.rb
View file @
e4cbd8cd
...
...
@@ -72,4 +72,3 @@ user
redirect_to
(
root_url
)
unless
current_user?
(
@user
)
end
end
app/helpers/sessions_helper.rb
View file @
e4cbd8cd
...
...
@@ -59,5 +59,3 @@ module SessionsHelper
session
[
:forwarding_url
]
=
request
.
original_url
if
request
.
get?
end
end
app/views/users/_form.html.erb
View file @
e4cbd8cd
app/views/users/_user.html.erb
View file @
e4cbd8cd
app/views/users/index.html.erb
View file @
e4cbd8cd
app/views/users/new.html.erb
View file @
e4cbd8cd
<!--
<%
provide
(
:title
,
"Sign up"
)
%>
<h1>Sign up</h1>
<div class="row">
<div class="col-md-6 col-md-offset-3">
<%=
form_for
(
@user
)
do
|
f
|
%>
<%=
render
"shared/error_messages"
%>
<%=
f
.
label
:name
%>
<%=
f
.
text_field
:name
,
class:
"form-control"
%>
<%=
f
.
label
:email
%>
<%=
f
.
email_field
:email
,
class:
"form-control"
%>
<%=
f
.
label
:password
%>
<%=
f
.
password_field
:password
,
class:
"form-control"
%>
<%=
f
.
label
:password_confirmation
,
"Confirmation"
%>
<%=
f
.
password_field
:password_confirmation
,
class:
"form-control"
%>
<%=
f
.
submit
"Create my account"
,
class:
"btn btn-primary"
%>
<%
end
%>
</div>
</div> -->
<%
provide
(
:title
,
'Sign up'
)
%>
<%
provide
(
:button_text
,
'Create my account'
)
%>
<h1>
Sign up
</h1>
...
...
db/seeds.rb
View file @
e4cbd8cd
test/fixtures/users.yml
View file @
e4cbd8cd
test/integration/users_edit_test.rb
View file @
e4cbd8cd
test/integration/users_index_test.rb
View file @
e4cbd8cd
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment