no browser cache for dashboard and text editor

This commit is contained in:
Kyle Drake 2016-04-06 20:23:48 -07:00
parent b15f1aab1d
commit 4d223e356e
4 changed files with 13 additions and 0 deletions

View file

@ -1,6 +1,7 @@
get '/dashboard' do
require_login
dashboard_init
dont_browser_cache
unless current_site.dashboard_accessed
current_site.dashboard_accessed = true