forked from jasder/forgeplus
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
|