Skip to content

Demo of an error when trying to use custom layout per route in rodauth.

Notifications You must be signed in to change notification settings

1gor/rodauth_per_route_layout_error_example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo app to replicate error when trying layout per route in Rodauth.

Description

With reference to news group thread https://groups.google.com/forum/#!topic/rodauth/MOBVSp2z-Qg

The code to trigger the error is commented inside roauth confg block in app.rb file.

Running the app

$ rackup      # development mode

or

$ ./prod.sh   # production mode

Triggering the error

go to http://localhost:9292/login.

Files

$ tree
.
├── app.rb
├── config.ru
├── db.rb
├── Gemfile
├── Gemfile.lock
├── migrate
│   └── 001_tables.rb
├── prod.sh
├── README.org
└── views
    ├── home
    │   └── index.erb
    └── layouts
        ├── default.erb
        ├── _head.erb
        ├── _nav.erb
        └── session.erb

About

Demo of an error when trying to use custom layout per route in rodauth.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published