Syndicate to Day One from Admin pages
This commit is contained in:
@@ -17,5 +17,9 @@ module Adamantium
|
||||
|
||||
config.logger.level = :debug
|
||||
config.logger.stream = "log/hanami.log"
|
||||
|
||||
config.shared_app_component_keys += [
|
||||
"syndication.dayone"
|
||||
]
|
||||
end
|
||||
end
|
||||
|
@@ -84,6 +84,8 @@ module Adamantium
|
||||
delete "/posts/:id", to: "posts.delete"
|
||||
post "/posts/:id/archive", to: "posts.archive"
|
||||
post "/posts/:id/publish", to: "posts.publish"
|
||||
get "/posts/:id", to: "posts.show"
|
||||
post "/posts/:id/syndicate/:target", to: "posts.syndicate"
|
||||
|
||||
get "/media", to: "photos.index"
|
||||
|
||||
|
Reference in New Issue
Block a user