Events: kickstart shared scoreboard
This commit is contained in:
7
app/controllers/concerns/contests_concern.rb
Normal file
7
app/controllers/concerns/contests_concern.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
module ContestsConcern
|
||||
extend ActiveSupport::Concern
|
||||
|
||||
def active_page(path)
|
||||
request.path.starts_with?(path) ? "active" : ""
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user