File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
app/lib/matestack/ui/core Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -22,18 +22,18 @@ def render(*args)
22
22
end
23
23
end
24
24
25
- # Matestack allows implicit rendering. When an `index` or `show` action is requested, which is not
26
- # defined, then the matestack page is inferred from the controller name. The index action will
27
- # look for a `Page` with a plural name, the show action will look for a `Page` with a singular
28
- # name.
25
+ # Matestack allows implicit rendering. The matestack page class name is inferred from the
26
+ # controller path and action name.
29
27
#
30
28
# class Clients::BookingsController < ApplicationController
31
29
# def index
32
30
# @bookings = Booking.all
31
+ # # looks for Pages::Clients::Bookings::Index
33
32
# end
34
33
#
35
34
# def show
36
35
# @booking = Booking.find params[:id]
36
+ # # looks for Pages::Clients::Bookings::Show
37
37
# end
38
38
# end
39
39
#
@@ -44,6 +44,7 @@ def render(*args)
44
44
#
45
45
# class Clients::BookingsController < ApplicationController
46
46
# def step1
47
+ # # looks for Pages::Clients::Bookings::Step1
47
48
# end
48
49
# end
49
50
#
You can’t perform that action at this time.
0 commit comments