loic911 / Rest-api-doc

MIT License
21 stars 32 forks source link

js include failed #61

Open shaydel opened 9 years ago

shaydel commented 9 years ago

I'm using grails 2.5 , in the latest plugin version(0.6.1) ,the includes from index.gsp fails, replacing the includes\links inside index.gsp with the following fixed the issue:

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script src="${resource(dir: 'js', file: 'jsondoc/bootstrap.min.js')}"></script>
<script type="text/javascript" src="${resource(dir: 'js', file: 'jsondoc/handlebars-v2.0.0.js')}"></script>
<script type="text/javascript" src="${resource(dir: 'js', file: 'jsondoc/jlinq.js')}"></script>
<script type="text/javascript" src="${resource(dir: 'js', file: 'jsondoc/prettify.js')}"></script>
<script src="${resource(dir: 'js', file: 'jsondoc/bootstrap-button.js')}"></script>

<!-- Le styles -->
<link href="${resource(dir: 'css', file: 'jsondoc/bootstrap.min.css')}" rel="stylesheet">
<link href="${resource(dir: 'css', file: 'jsondoc/font-awesome.css')}" rel="stylesheet" >
artvel commented 8 years ago

which resources: plugin version do you have?