Closed bradpotts closed 8 years ago
The layouts for Accounts is too generalized. On every action except Index will show accounts layout and the index will show accountindex layout.
def resolve_accounts_layout case action_name when "index", "create" "accountsindex" else "index" "accounts" end end
layout :resolve_accounts_layout
Done. https://github.com/PHCNetworks/multi-tenancy-devise/commit/06506042a39cf479b46b8e39faac5c6614faf1f1
The layouts for Accounts is too generalized. On every action except Index will show accounts layout and the index will show accountindex layout.