-
Notifications
You must be signed in to change notification settings - Fork 0
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
Test winter-2020 branch #2
base: master
Are you sure you want to change the base?
Conversation
jelaniwoods
commented
Feb 21, 2020
•
edited
Loading
edited
@@ -0,0 +1,40 @@ | |||
<h1>Sign up</h1> | |||
|
|||
<form action="/post_task_doer" method="post"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to change to either a get
to /insert_task_doer
or the route needs to change to post
.
</h5> | ||
|
||
<div> | ||
<form action="/patch_task_doer" method="post"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to be updated to /modify_task_doer
<% end %> | ||
<% end %> | ||
<div> | ||
<form action="/patch_task_doer" method="post"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again /modify_task_doer
<%= time_ago_in_words(task.created_at) %> ago | ||
</td> | ||
<td> | ||
<%= time_ago_in_words(task.updated_at) %> ago |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we keep the time_ago_in_words
? We haven't really talked about it at all.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jelaniwoods Hm, I was planning to talk about it in class. However I've been wanting to leave certain easy improvements out of the draft:resource
generator in order to make it more obvious who is actually putting in effort and who is not, so I may remove this.
get("/task_doer_sign_up", { :controller => "task_doers", :action => "new_registration_form" }) | ||
|
||
# Create record | ||
get("/insert_task_doer", { :controller => "task_doers", :action => "create" }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The should most likely be a post
request I think. If an account has a text
or file column they will need it. Also to not have the password in the form.