mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-07 13:41:42 +08:00
init project
This commit is contained in:
7
app/controllers/hot_keywords_controller.rb
Normal file
7
app/controllers/hot_keywords_controller.rb
Normal file
@@ -0,0 +1,7 @@
|
||||
class HotKeywordsController < ApplicationController
|
||||
def index
|
||||
keywords = []
|
||||
keywords = HotSearchKeyword.hot(8) if HotSearchKeyword.available?
|
||||
render_ok(keywords: keywords)
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user