-
Notifications
You must be signed in to change notification settings - Fork 53
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
Issue 94 #100
Issue 94 #100
Conversation
Add tests for episode model
Project sorting
Use correct timestamp for "Last updated" text on projects overview page (issue SUSE#62)
end | ||
|
||
@project.join! current_user | ||
redirect_to project_path(@episode, @project), notice: "Welcome to the project #{current_user.name}!" | ||
if @project.users.include?(current_user) |
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.
It's not possible via the interface to join twice (except if you mess with the js). I think it would be better if we just discard this case without a flash or anything
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.
It is. One way would be to change the html, the other one is to click twice fast enough.
I guess that's what happened to vojtech: https://hackweek.suse.com/11/projects/256
btw I used :notice here because :error did not seem to work
@hennevogel I removed the controller part. |
We reverted to UI... |
No description provided.