Skip to content
Snippets Groups Projects
Commit a7f5f350 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

fixed model attribute usage

parent 27966f6e
No related branches found
No related tags found
No related merge requests found
Pipeline #6061 failed
...@@ -121,7 +121,7 @@ public class AccountController extends BaseController ...@@ -121,7 +121,7 @@ public class AccountController extends BaseController
public String newAccount(Model model) public String newAccount(Model model)
{ {
Account emptyAccount = new Account(); Account emptyAccount = new Account();
model.addAttribute(ModelAttributes.ALL_ENTITIES, emptyAccount); model.addAttribute(ModelAttributes.ONE_ENTITY, emptyAccount);
model.addAttribute(ModelAttributes.AVAILABLE_ACCOUNT_STATES, AccountState.values()); model.addAttribute(ModelAttributes.AVAILABLE_ACCOUNT_STATES, AccountState.values());
model.addAttribute(ModelAttributes.FONTAWESOME_ICONS, FontAwesomeIcons.ICONS); model.addAttribute(ModelAttributes.FONTAWESOME_ICONS, FontAwesomeIcons.ICONS);
return ReturnValues.NEW_ENTITY; return ReturnValues.NEW_ENTITY;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment