forked from OpenNeo/impress
Render wardrobe-2020 fullscreen
Tada! No more layout!
This commit is contained in:
parent
8d7eabf1e3
commit
c6e544be70
2 changed files with 13 additions and 4 deletions
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue