modularcode / modular-admin-html

ModularAdmin - Free Dashboard Theme Built On Bootstrap 4 | HTML Version
https://modularcode.io/modular-admin-html/
Other
2.92k stars 819 forks source link

There is a problem when passing parameters to controller. #104

Open ethiwoo opened 6 years ago

ethiwoo commented 6 years ago

For example If you enter [edit / {id}] on the [a href] tag, vendor.js 7352 An error occurs on the line. The reason is that the host's address is [http://192.168.0.1/edit] Link the css file in this way. I add this code in vendor.js 7353 line.

if (name == 'href') {
    value = 'http://' + location.host + '/' + value;
}
johnsnook commented 6 years ago

Whoops, I meant to delete this project. I did a little work and realized it was too much hassle and just did SBAdmin instead

ethiwoo commented 6 years ago

Ok. Fine. When i get a time, I will commit the code.