Revamp contest settings into tabs
This commit is contained in:
5
app/helpers/style_helper.rb
Normal file
5
app/helpers/style_helper.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
module StyleHelper
|
||||
def active_page(path)
|
||||
request.path.starts_with?(path) ? "active" : ""
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user