Skip to content

Latest commit

 

History

History
42 lines (32 loc) · 868 Bytes

File metadata and controls

42 lines (32 loc) · 868 Bytes

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