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

AJAX #25

Merged
merged 31 commits into from
Jun 20, 2023
Merged

AJAX #25

merged 31 commits into from
Jun 20, 2023

Conversation

adrianHards
Copy link
Collaborator

@adrianHards adrianHards commented Jun 19, 2023

Changes

  • abstracted away code from controllers into a folder called services
  • abstracted away code from posts index page into partials (this was also needed for AJAX)
  • wrote AJAX for index page; can now like, comment and create a new post without a page refresh
  • this also works on newly created posts!

To Do:

  • have tests pass

@adrianHards adrianHards merged commit f846ab3 into main Jun 20, 2023
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.

2 participants