firstdraft / draft_generators

Rails generators that help beginners learn to program.
MIT License
2 stars 3 forks source link

Variables in create, update, destroy actions need not be instance variables #93

Closed raghubetina closed 4 years ago

raghubetina commented 4 years ago

Since the actions only redirect, the variables need not be instance variables in create, update, and destroy. We should change them to locals.