mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 07:49:29 +00:00
Fix rubocop issues, introduce usage of frozen literal to improve performance
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
module ApplicationHelper
|
||||
def active_nav_class(path)
|
||||
current_page?(path) ? 'active' : ''
|
||||
|
||||
Reference in New Issue
Block a user