This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Rails.application.routes.draw do | |
resources :restaurants do | |
collection do | |
get 'top', to: 'restaurants#top' | |
end | |
member do | |
get 'chef', to: 'restaurants#chef' | |
end | |
resources :reviews, shallow: :true | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#response { | |
margin-top: 30px; | |
margin-bottom: 30px; | |
} | |
img { | |
width: 64px; | |
float: right; | |
margin-top: -32px; | |
margin-right: -32px; |