Tests improved

This commit is contained in:
Christoph Haas 2018-08-20 22:27:35 +02:00
parent 1b299d53e6
commit 820ff2a30b
5 changed files with 45 additions and 8 deletions

View file

@ -66,9 +66,6 @@ class PackagesController < ApplicationController
# Save the screenshot database record to get an ID
new_screenshot.save!
(session[:uploaded_screenshots] ||= []) << new_screenshot.id
puts "-------------------"
puts session[:uploaded_screenshots]
puts "-------------------"
Log.log "Anonymously uploaded screenshots #{new_screenshot.id} remembered in cookie session to assign it to a user later."
end

View file

@ -1,4 +1,3 @@
= session[:uploaded_screenshots].inspect
nav.top-bar
.grid-container style="flex-grow:1;"
// https://foundation.zurb.com/forum/posts/53446-top-bar-and-xy-grid