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.