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 submission for final wave of Media Ranker #40

Open
wants to merge 33 commits into
base: sat/master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
f3b274d
Created Movie, Book and Album models
trowbrsa Nov 30, 2015
7036302
generated books, movies and albums controllers
trowbrsa Nov 30, 2015
68d1dd1
generated routes for 3 models
trowbrsa Nov 30, 2015
c74fa0c
Added all standard methods and views for movies controller
trowbrsa Nov 30, 2015
ee9a783
Added views and methods for books class
trowbrsa Nov 30, 2015
510c87b
unworking method for upvotes
trowbrsa Dec 1, 2015
05a1022
Working upvote method
trowbrsa Dec 1, 2015
12b538d
Made a named route for upvote movie path, added link to movie index page
trowbrsa Dec 1, 2015
5b1d254
Added specs for create, new, index methods
trowbrsa Dec 1, 2015
bea4a5f
Successfully created update spec for movies
trowbrsa Dec 1, 2015
9b42653
Added Bootstrap
trowbrsa Dec 2, 2015
fc22e9b
Added simplecov gem
trowbrsa Dec 2, 2015
81d52d2
Successfully created spec for update method
trowbrsa Dec 2, 2015
4643c2d
Working method for upvote
trowbrsa Dec 2, 2015
c404605
Created test for testing incrementation and redirect of upvote method
trowbrsa Dec 2, 2015
0a29eb8
Added additional bootstrap styling
trowbrsa Dec 3, 2015
31616e0
Added errors message when title not included
trowbrsa Dec 3, 2015
ec1656a
Added new medium controller spec
trowbrsa Dec 3, 2015
3bd514b
Added album views and controller methods
trowbrsa Dec 3, 2015
9ea93de
Updated home view
trowbrsa Dec 3, 2015
4c948e3
Updated show view for books
trowbrsa Dec 3, 2015
8aeb300
Added method to show top 10 ranked items on home page
trowbrsa Dec 4, 2015
92e7114
Added method for upvoting on show page of albums
trowbrsa Dec 4, 2015
bc45bef
Added additional bootstrap styling to show view
trowbrsa Dec 4, 2015
233d91b
Added additional bootstrap styling
trowbrsa Dec 4, 2015
06eb3ca
Generalized movie rspec tests to make availabel for all controllers
trowbrsa Dec 4, 2015
c29c608
Refined rspec tests to make them work
trowbrsa Dec 4, 2015
f4c2d6b
Wrote more tests for album and books controller
trowbrsa Dec 4, 2015
bee34d9
Updated bootstrap on home page
trowbrsa Dec 4, 2015
0e3d975
Updated specs
trowbrsa Dec 4, 2015
3885c21
Generalized all tests for each controller
trowbrsa Dec 4, 2015
38203b4
Added bootstrap styling to 'show' view for all controllers
trowbrsa Dec 6, 2015
9a2756d
Finalized 'edit' method for books and albums controller
trowbrsa Dec 6, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updated bootstrap on home page
trowbrsa committed Dec 4, 2015
commit bee34d9c05e233fda02d3cb5c0c02c91a19823c8
7 changes: 4 additions & 3 deletions app/views/movies/home.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<div class="col-lg-12">
<div class="row">
<div class="col-md-4">
<div class="row">
<div class="col-lg-12">
<div class="row">
<div class="col-md-4">
<h1>Top Movies</h1>
<% @movies.each do |movie| %>
<h2><%= link_to movie.title, movie_path(movie.id) %>