Add Markdown editor to admin area
This commit is contained in:
13
slices/admin/actions/posts/new.rb
Normal file
13
slices/admin/actions/posts/new.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
module Admin
|
||||
module Actions
|
||||
module Posts
|
||||
class New < Action
|
||||
include Deps["views.posts.new"]
|
||||
|
||||
def handle(req, res)
|
||||
res.render new
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user