Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ...
- def active_class(target_action)
- if params[:action] == target_action
- return "active"
- end
- end
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement