DISQUS

DISQUS Hello! In Traction is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

Current controller and action in Rails

Started by Jo Vermeulen · 1 year ago

I found out on #rubyonrails that it’s possible to get the current controller and action through the params[:controller] and params[:action] variables respectively.

These are definitely time savers when you’re building a menu structure based on the current controller and action. ... Continue reading »

0 comments

This thread has no comments yet.

Add New Comment

Returning? Login