hotsh / rstat.us

Simple microblogging network based on the ostatus protocol.
http://rstat.us/
Other
722 stars 215 forks source link

Changed redirect path to homepage after replying to an update from a use... #670

Closed LennonRubin closed 11 years ago

LennonRubin commented 11 years ago

This pull request is in regards to issue 654 https://github.com/hotsh/rstat.us/issues/654

I have changed the updates_controller create method to check the request url for the reply parameter and if found, redirects to the homepage instead of keeping the reply paramater in the redirect.

I have also written a test to cover this new redirect logic in update_test.rb

carols10cents commented 11 years ago

Hey, I'm so sorry it took us so long to get to this. I'm personally super excited about this fix because I keep hitting this issue when i'm using rstat.us! So thank you!!! :heart: :heart: :heart:

I did make a few little changes, nothing major though:

I've also added you to the About page and made you a committer-- please read the section in the README about what that means and let me know if you have any questions :)

Welcome to the team!!! Thank you for your contribution!! :heart: :heart: :heart:

LennonRubin commented 11 years ago

Hey,

Fantastic! This is my first accepted open source pull request so it's a very exciting day for me.

And no need to apologize about the changes you made, they were both completely legit imo. The second was just a typo and the first was simple conciseness that I agree is cleaner code so thank you. Good tweaks.

Happy to be on the team.

~Lennon

carols10cents commented 11 years ago

Awesome, congratulations!!!!!