end
def reload_manifest
- Pettanr::Application.manifest = Pettanr::Manifest.new JSON.parse(open(Rails.root + 'public/manifest.json').read)
- Pettanr::Application.manifest.init
+ Manifest::load JSON.parse(open(Rails.root + 'public/manifest.json').read)
+ Manifest.manifest.init
respond_to do |format|
format.html { redirect_to({:action => :index}) }
end