diff --git a/Gemfile b/Gemfile index 557d662..bc5c232 100644 --- a/Gemfile +++ b/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 diff --git a/Gemfile.lock b/Gemfile.lock index 80cb105..c85c416 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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 diff --git a/config/routes.rb b/config/routes.rb index 3f66539..a333dcd 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -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