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

Final PR #48

Open
wants to merge 45 commits into
base: riley/master
Choose a base branch
from
Open

Conversation

rileslovesyall
Copy link

I made a thing that looks like the other thing. It has some partials. That's cool.

@brittinator brittinator self-assigned this Dec 22, 2015
@@ -0,0 +1,57 @@
class AlbumsController < ApplicationController
before_action :set_album, only: [:edit, :show, :update, :destroy, :upvote]

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice use of a before_action. You could also do an except instead of only like so -> before_action :set_album , except: [:index, :create, :new]

@brittinator
Copy link

Neat job. I'd add /coverage to your .gitignore so you're not uploading the huge files that get generated every time you run rspec and push. I like your use of shared examples, everything looked really consistent between the different medias. 👍

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