dtext: add dtext cheatsheet popup.

This commit is contained in:
evazion
2019-11-10 02:45:27 -06:00
parent 69f005a89c
commit 9cf5b1f01c
6 changed files with 129 additions and 2 deletions

View File

@@ -9,6 +9,10 @@ class StaticController < ApplicationController
def error
end
def dtext_help
redirect_to wiki_page_path("help:dtext") unless request.format.js?
end
def site_map
end
@@ -17,5 +21,5 @@ class StaticController < ApplicationController
@post_set = PostSets::Popular.new(Date.yesterday.to_s, "week", limit: 200)
@posts = @post_set.posts
render layout: false
end
end
end