Closed caioertai closed 3 years ago
I'm keeping this separate from the #175 PR since it's essentially a refactor job.
I had to use a shitload of regexes to help me with the search and replace tasks, like:
(render[\s(]+["'])admin/(.*) Admin(::\w+Policy) (policy.*):admin (form_for.*):admin (policy_scope.*):admin (redirect_to.*):admin (authorize.*):admin (admin_)(.*_path) (Admin::)(\w+)(Controller)
Fun stuff. :tada:
I'm keeping this separate from the #175 PR since it's essentially a refactor job.
I had to use a shitload of regexes to help me with the search and replace tasks, like:
Fun stuff. :tada: