This repository was archived by the owner on Dec 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Layouts
cgebken edited this page Nov 6, 2020
·
6 revisions
Beyond Canvas comes with different layouts you can use for your app.
These are all available layouts, use cases for the respective layout, and an example view:
| Layout | Description | Use cases | Example |
|---|---|---|---|
public |
|
|
Example view |
Note: Currently, only the public layout is available but the list will be extended in the future.
You can set the layout you'd like to use in the controller itself by adding layout beyond_canvas/<your-preferred-layout>.
class ApplicationController < ActionController::Base
layout 'beyond_canvas/public'
endBy default, the
beyond_canvas/publiclayout is set for theApplicationController. Thus, all controllers inheriting fromApplicationControllerwill use the same layout.
- Home
- Getting Started
- Configuration
-
Customization
- Rails
- CSS
- JavaScript
- Forms
- How-to articles