Skip to content

Commit 0e9b0c5

Browse files
committed
Fix action locations and namespacing
1 parent e6504a5 commit 0e9b0c5

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

ruby/hanami/app/actions/benchmark/index/empty.rb renamed to ruby/hanami/app/actions/index/empty.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Benchmark
22
module Actions
3-
module Home
4-
class Index < Benchmark::Action
3+
module Index
4+
class Empty < Benchmark::Action
55
def handle(request, response)
66
response.body = ""
77
end

ruby/hanami/app/actions/benchmark/user/get.rb renamed to ruby/hanami/app/actions/user/get.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
module Benchmark
22
module Actions
3-
module Home
4-
class Index < Benchmark::Action
3+
module User
4+
class Get < Benchmark::Action
55
def handle(request, response)
66
response.body = request.params[:id]
77
end

0 commit comments

Comments
 (0)