diff --git a/app/controllers/outfits_controller.rb b/app/controllers/outfits_controller.rb index f58f7ca1..44c35e2c 100644 --- a/app/controllers/outfits_controller.rb +++ b/app/controllers/outfits_controller.rb @@ -10,6 +10,10 @@ class OutfitsController < ApplicationController end end + def edit + render "outfits/edit", layout: false + end + def index if user_signed_in? @outfits = current_user.outfits. diff --git a/app/views/outfits/edit.html.haml b/app/views/outfits/edit.html.haml index 51f20177..4ade26ae 100644 --- a/app/views/outfits/edit.html.haml +++ b/app/views/outfits/edit.html.haml @@ -1,4 +1,9 @@ -- content_for :javascripts do - = javascript_include_tag 'wardrobe-2020-page', defer: true - -#wardrobe-2020-root +!!! 5 +%html + %head + %meta{charset: 'utf-8'} + %title Dress to Impress + %link{href: image_path('favicon.png'), rel: 'icon'} + = javascript_include_tag 'wardrobe-2020-page', defer: true + %body + #wardrobe-2020-root