Admin Flash components CSS fix
Fixes
Addresses #245 (closed) Issue no. 2
Description: There seems to be some error with the CSS of $this->Flash->success
and $this->Flash->error
components. The proper CSS for the components doesn't load when using admin components while it loads properly for user components.
Type of PR This PR is an improvement.
How to reproduce:
To check the error, open both the public and admin controller for any table and try it there. In my case, I used AuthorsController.php, and added the line $this->Flash->success('Test message');
to the index() function for both the admin and public controllers. The CSS for the component properly shows up for the public page, while on the admin page, it doesn't.
Screenshots: