Resolve "Список периодических событий" #129

Merged
romanov73 merged 57 commits from 4-show-time-line into master 2018-10-30 23:32:01 +04:00
7 changed files with 5 additions and 4 deletions
Showing only changes of commit 550cc4cdf3 - Show all commits

View File

@ -11,6 +11,7 @@ public class MvcConfiguration extends WebMvcConfigurerAdapter {
public void addViewControllers(ViewControllerRegistry registry) {
registry.addViewController("/{articlename:\\w+}");
//registry.addViewController("/admin/{articlename:\\w+}");
registry.addViewController("/papers/{articlename:\\w+}");
registry.addRedirectViewController("/", "/index");
registry.addRedirectViewController("/default", "/index");
}

View File

@ -84,7 +84,7 @@
</footer>
<!-- Custom scripts for this template -->
<script src="js/agency.js"></script>
<script src="/js/agency.js"></script>
</body>
</html>

View File

@ -18,7 +18,7 @@
</div>
<div class="row">
<div class="col-md-4 col-sm-6 portfolio-item">
<a class="portfolio-link" href="./papers">
<a class="portfolio-link" href="./papers/papers">
<div class="portfolio-hover">
<div class="portfolio-hover-content">
<i class="fa fa-arrow-right fa-3x"></i>

View File

@ -19,8 +19,8 @@
</div>
</section>
<script src="js/core.js"></script>
<script src="js/papers.js"></script>
<script src="/js/core.js"></script>
<script src="/js/papers.js"></script>
<script>
$( document ).ready(function() {
showPapers($("#paper-list"));