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

Add ability to edit comments under an hour old #409

Merged
merged 12 commits into from
Apr 1, 2016

Conversation

rickhanlonii
Copy link
Collaborator

Overview

This PR adds the ability to link directly to comments and edit your own comments that are under 1 hour old.

Ref #208.

Details

  • Adds a link to each comment by clicking the timeago time
  • Adds a link to the news item by clicking the timeago time on the news item
  • Adds an edit link on comments for the logged in user less than an hour old
  • Adds routes for comment links and editing comment
  • Adds routes for updating a comment when editing
  • Refactors the comment related code into separate controller and view packages

Gifs

Linked comment and posts

Editing comments

@rickhanlonii rickhanlonii merged commit 0aca534 into larvalabs:master Apr 1, 2016
@rickhanlonii rickhanlonii deleted the rh-edit-comments branch April 1, 2016 00:01
@rickhanlonii rickhanlonii mentioned this pull request Apr 1, 2016
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.

1 participant