Ember App Controller Router Props

This codemod replaces all occurrences of this.currentRouteName with this.router.currentRouteName and this.currentPath with this.router.currentPath.

Ember.js
ts-morph
Change mode
Assistive
Made by
Rajasegar Chandran
Rajasegar Chandran

Usage →

Intuita CLI:

intalling vs code extension tooltip icon
intuita ember/5/app-controller-router-props
copy CLI command icon

Intuita VS Code extension:

intalling vs code extension tooltip icon
vs code logo
Run in VS Code

Use/edit codemod in Codemod Studio:

intuita logo without text
Open in Codemod Studio