{"action":"opened","issue":{"url":"https://api.github.com/repos/grails/grails-core/issues/9271","labels_url":"https://api.github.com/repos/grails/grails-core/issues/9271/labels{/name}","comments_url":"https://api.github.com/repos/grails/grails-core/issues/9271/comments","events_url":"https://api.github.com/repos/grails/grails-core/issues/9271/events","html_url":"https://github.com/grails/grails-core/issues/9271","id":107349947,"number":9271,"title":"Scaffolding Controller does not scaffold index changes","user":{"login":"Shinigami92","id":7195563,"avatar_url":"https://avatars.githubusercontent.com/u/7195563?v=3","gravatar_id":"","url":"https://api.github.com/users/Shinigami92","html_url":"https://github.com/Shinigami92","followers_url":"https://api.github.com/users/Shinigami92/followers","following_url":"https://api.github.com/users/Shinigami92/following{/other_user}","gists_url":"https://api.github.com/users/Shinigami92/gists{/gist_id}","starred_url":"https://api.github.com/users/Shinigami92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shinigami92/subscriptions","organizations_url":"https://api.github.com/users/Shinigami92/orgs","repos_url":"https://api.github.com/users/Shinigami92/repos","events_url":"https://api.github.com/users/Shinigami92/events{/privacy}","received_events_url":"https://api.github.com/users/Shinigami92/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-19T18:49:21Z","updated_at":"2015-09-19T18:49:21Z","closed_at":null,"body":"I have applied 'install-templates' to my grails 3.0.6 project and have edited in controller index method this line\r\n```\r\nparams.max = Math.min(max ?: 25, 100)\r\n```\r\nto\r\n```\r\nparams.max = Math.max(Math.min(max ?: 25, 100), 1)\r\n```\r\nThe changes are not adopted after a new start.\r\nI have overriden the index method in my Controllers and there it works."}}