neerajsingh0101/admin_data

Controller called search_controller will use the layout search from admin_data

Opened this issue · 0 comments

If you create a controller called search_controller in your application.

Then you don't specify a layout to use. I.E., use the default layout.

When you add admin_data, then call a method that routes to your search_controller it will find the layout in the admin_data project and try and use that.

Workaround: put layout "appliation" in your controller.