mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-03 20:00:49 +08:00
7 lines
195 B
Ruby
7 lines
195 B
Ruby
class HotKeywordsController < ApplicationController
|
|
def index
|
|
keywords = []
|
|
keywords = HotSearchKeyword.hot(8) if HotSearchKeyword.available?
|
|
render_ok(keywords: keywords)
|
|
end
|
|
end |