Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # TEXT TO FIND: ^(\s+)(get|post|put|patch|destroy) :(index|show|edit|update|new|create|destroy), ([^params].+[^,])$
- # REPLACE WITH: $1$2 :$3, params: {$4}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement