Add parenthesis to function def with arguments.

    find . -iname '*.rb' | xargs perl -lapi -e 's/\bdef ([^ (]+)[ ]+([^(].*)/def $1($2)/'
Unused method argument - `resource`. If it's necessary, use `_` or `_resource` as an argument name to indicate that it won't be used. You can also write as `after_sign_up_path_for(*)` if you want the method to accept any arguments but don't care about them.