Skip to content
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

Closed
wants to merge 84 commits into from
Closed

Issue 94 #100

wants to merge 84 commits into from

Conversation

bgeuken
Copy link
Contributor

@bgeuken bgeuken commented Oct 16, 2014

No description provided.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.13%) when pulling 69dc146 on bgeuken:issue_94 into cf75027 on SUSE:master.

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)
Copy link
Member

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

Copy link
Contributor Author

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

@coveralls
Copy link

Coverage Status

Coverage increased (+0.04%) when pulling 42e0760 on bgeuken:issue_94 into cf75027 on SUSE:master.

@bgeuken
Copy link
Contributor Author

bgeuken commented Oct 20, 2014

@hennevogel I removed the controller part.

@hennevogel
Copy link
Member

We reverted to UI...

@hennevogel hennevogel closed this Mar 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

7 participants