Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify controller render cops? #34

Open
rmosolgo opened this issue Oct 3, 2018 · 0 comments
Open

Unify controller render cops? #34

rmosolgo opened this issue Oct 3, 2018 · 0 comments

Comments

@rmosolgo
Copy link
Contributor

rmosolgo commented Oct 3, 2018

It looks like there are several cops which implement various approaches to recommending:

render "path/to/template", { ... options ... }

Why are these cops separate? Could they be unified?

For example, one cop replaces render action: :edit => render action: "edit", but another replaces render action: "edit" => render "edit". So, could we jump right from render action: :edit" => render "edit"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant