Page API
Use core components
class ExampleApp::Pages < Matestack::Ui::Page
def response
div do
plain "Hello World from Example Page!"
end
end
endUse registered custom components
class ExampleApp::Pages < Matestack::Ui::Page
def response
div do
# calling your registered card component without using matestack_component helper!
card title: "hello"
end
end
endAccess request params
Prepare method
Use pure Ruby on pages
Use instance methods
Use local partials
Use partials from included modules
Last updated
Was this helpful?