|
|
|
|
|
by ericb
4877 days ago
|
|
Extracting it into a separate method is what makes it available for wider use--not the before_filter. That said, you provide a justification--the topicality of the code itself to the idea of "show." It is a decent point that I missed in the article. I'll have to think on that. I question this logic living in the controller at all, though. It looks like a model logic that should, from the controller perspective, look like current_user.review_for_promotion. |
|