added Haml, resourceful routes
This commit is contained in:
parent
2d81334803
commit
f3d6e1e855
3
Gemfile
3
Gemfile
|
@ -13,7 +13,8 @@ gem 'uglifier', '>= 1.3.0'
|
|||
gem 'coffee-rails', '~> 4.1.0'
|
||||
# See https://github.com/rails/execjs#readme for more supported runtimes
|
||||
# gem 'therubyracer', platforms: :ruby
|
||||
|
||||
# Use Haml as the templating library
|
||||
gem 'haml'
|
||||
# Use jquery as the JavaScript library
|
||||
gem 'jquery-rails'
|
||||
# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks
|
||||
|
|
|
@ -59,6 +59,8 @@ GEM
|
|||
execjs (2.5.2)
|
||||
globalid (0.3.6)
|
||||
activesupport (>= 4.1.0)
|
||||
haml (4.0.6)
|
||||
tilt
|
||||
i18n (0.7.0)
|
||||
jbuilder (2.3.1)
|
||||
activesupport (>= 3.0.0, < 5)
|
||||
|
@ -171,6 +173,7 @@ DEPENDENCIES
|
|||
autotest
|
||||
byebug
|
||||
coffee-rails (~> 4.1.0)
|
||||
haml
|
||||
jbuilder (~> 2.0)
|
||||
jquery-rails
|
||||
pg
|
||||
|
|
|
@ -14,6 +14,8 @@ Rails.application.routes.draw do
|
|||
# Example resource route (maps HTTP verbs to controller actions automatically):
|
||||
# resources :products
|
||||
|
||||
resources :movies
|
||||
|
||||
# Example resource route with options:
|
||||
# resources :products do
|
||||
# member do
|
||||
|
|
Loading…
Reference in New Issue