Refactor app in to its own slice
This commit is contained in:
13
slices/main/actions/podcasts/index.rb
Normal file
13
slices/main/actions/podcasts/index.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
module Main
|
||||
module Actions
|
||||
module Podcasts
|
||||
class Index < Action
|
||||
include Deps["views.podcasts.index"]
|
||||
|
||||
def handle(req, res)
|
||||
res.render index
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user