lib/rhosync/console/app/routes/client.rb in rhosync-2.0.8 vs lib/rhosync/console/app/routes/client.rb in rhosync-2.0.9
- old
+ new
@@ -15,10 +15,10 @@
end
@sources = []
handle_api_error("Can't load list of sources") do
@sources = RhosyncApi::list_sources(session[:server],session[:token],:all)
end
- erb :client
+ erb :client, :layout => false
end
get '/device/delete' do
handle_api_error("Can't delete device #{params[:device_id]}") do
RhosyncApi::delete_client(session[:server],session[:token],
\ No newline at end of file