Commit de92e570 authored by Matija Obreza's avatar Matija Obreza
Browse files

Removed @PreAuthorize in controller; things are checked on service level

parent 0d6e81d9
......@@ -37,7 +37,6 @@ import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.PathVariable;
......@@ -123,14 +122,12 @@ public class WiewsController extends BaseController {
return "/metadata/index";
public String edit(ModelMap model, @PathVariable(value = "wiewsCode") String wiewsCode) {
view(model, wiewsCode);
return "/wiews/edit";
public String update(ModelMap model, @PathVariable(value = "wiewsCode") String wiewsCode, @RequestParam("blurp") String blurp,
@RequestParam("gaTracker") String gaTracker) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment