def reload_manifest
Manifest::load JSON.parse(open(Rails.root + 'public/manifest.json').read)
Manifest.manifest.init
+ LocalManifest::load JSON.parse(open(Rails.root + 'public/local_manifest.json').read)
+ LocalManifest.manifest.init
respond_to do |format|
format.html { redirect_to({:action => :index}) }
end
end
- def browse
- end
-
def auth_token
end
end
end
- def production_layout
- MagicNumber['test_layout'] = false
- respond_to do |format|
- format.html { render text: 'production', status: 200 }
- end
- end
-
- def test_layout
- MagicNumber['test_layout'] = 'test'
- respond_to do |format|
- format.html { render text: 'test', status: 200 }
- end
- end
-
end