Skip to content
Snippets Groups Projects
Select Git revision
  • 75aed25c2f5a2e03f07a946c54741e202abbdd70
  • master default
  • renovate/fastapi-0.x
  • v2.21.0
  • v2.20.1
  • v2.20.0
  • v2.19.0
  • v2.18.1
  • v2.18.0
  • v2.17.0
  • v2.16.0
  • v2.15.0
  • v2.14.0
  • v2.13.1
  • v2.13.0
  • v2.12.0
  • v2.11.0
  • v2.10.0
  • v2.9.0
  • v2.8.0
  • v2.7.0
  • v2.6.0
  • v2.5.0
23 results

SensorRouter.py

Blame
  • IndexController.java NaN GiB
    package de.deadlocker8.budgetmaster.controller;
    
    import de.deadlocker8.budgetmaster.entities.Category;
    import de.deadlocker8.budgetmaster.repositories.CategoryRepository;
    import org.springframework.beans.factory.annotation.Autowired;
    import org.springframework.stereotype.Controller;
    import org.springframework.web.bind.annotation.RequestMapping;
    
    @Controller
    public class IndexController extends BaseController
    {
    	@Autowired
    	private CategoryRepository categoryRepository;
    
    	@RequestMapping("/")
    	public String index()
    	{
    		Category n = new Category();
    		n.setName("Ausgaben");
    		n.setColor("#FF0000");
    		categoryRepository.save(n);
    
    		return "index";
    	}
    }