Sha256: 239964cbe738946627ad9e3a7dba51723bffc1a7ff10bb81d1b10ff78cf1640b
Contents?: true
Size: 300 Bytes
Versions: 6
Compression:
Stored size: 300 Bytes
Contents
# Determines whether the given controller is the current controller # # @param Name of the controller to check against # @return [Boolean] True if the controller_name parameter matches the current controller nam def current_tab?(controller_name) controller.controller_name == controller_name end
Version data entries
6 entries across 6 versions & 1 rubygems