Skip to content
Snippets Groups Projects
Commit 928cfb37 authored by Eugen Ciur's avatar Eugen Ciur
Browse files

minor fixes for various resources

parent aa6116d5
Branches
No related tags found
No related merge requests found
...@@ -42,5 +42,5 @@ ...@@ -42,5 +42,5 @@
</div> </div>
<div class="mb-3"> <div class="mb-3">
<Button::Submit @onClick={{this.onSubmit}} /> <Button::Submit @onClick={{this.onSubmit}} />
<Button::Cancel @route="automates"/> <Button::Cancel @route="authenticated.automates"/>
</div> </div>
\ No newline at end of file
...@@ -54,7 +54,7 @@ class AddAutomateComponent extends Component { ...@@ -54,7 +54,7 @@ class AddAutomateComponent extends Component {
this.store.createRecord('automate', automate).save(); this.store.createRecord('automate', automate).save();
this.router.transitionTo('automates'); this.router.transitionTo('authenticated.automates');
} }
@action @action
......
...@@ -82,5 +82,5 @@ You will be able to set password for this user, after it is created. ...@@ -82,5 +82,5 @@ You will be able to set password for this user, after it is created.
<Button::Submit <Button::Submit
@onClick={{this.onSubmit}} @onClick={{this.onSubmit}}
@disabled={{this.disabled}} /> @disabled={{this.disabled}} />
<Button::Cancel @route="users"/> <Button::Cancel @route="authenticated.users"/>
</div> </div>
\ No newline at end of file
...@@ -47,7 +47,7 @@ class AddUserComponent extends Component { ...@@ -47,7 +47,7 @@ class AddUserComponent extends Component {
this.new_user.save(); this.new_user.save();
} }
this.router.transitionTo('users'); this.router.transitionTo('authenticated.users');
} }
} }
......
<Button::New @route="automates.add" class="automates-add" /> <Button::New @route="authenticated.automates.add" class="automates-add" />
<Table @titles={{array <Table @titles={{array
'name' 'name'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment