1
0
Fork 0
forked from OpenNeo/impress

Render wardrobe-2020 fullscreen

Tada! No more layout!
This commit is contained in:
Emi Matchu 2023-08-10 18:19:03 -07:00
parent 8d7eabf1e3
commit c6e544be70
2 changed files with 13 additions and 4 deletions

View file

@ -10,6 +10,10 @@ class OutfitsController < ApplicationController
end end
end end
def edit
render "outfits/edit", layout: false
end
def index def index
if user_signed_in? if user_signed_in?
@outfits = current_user.outfits. @outfits = current_user.outfits.

View file

@ -1,4 +1,9 @@
- content_for :javascripts do !!! 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 = javascript_include_tag 'wardrobe-2020-page', defer: true
%body
#wardrobe-2020-root #wardrobe-2020-root