The SSH host key has changed on 8 April, 2022 to this one: SHA256:573uTBSeh74kvOo0HJXi5ijdzRm8me27suzNEDlGyrQ

Fixed news list (didn't load without login)

Signed-off-by: Gergely Polonkai <polesz@w00d5t0ck.info>
master
Polonkai Gergely 10 years ago
parent feda5d7d57
commit b5ffdf4ad7
  1. 4
      app/config/security.yml
  2. 2
      src/KekRozsak/FrontBundle/Controller/NewsController.php
  3. 3
      src/KekRozsak/FrontBundle/Resources/views/Default/main_template.html.twig

@ -31,6 +31,10 @@ security:
pattern: \.css$
security: false
news_side_list:
pattern: ^/newsSideList.html$
security: false
members:
pattern: ^/

@ -32,7 +32,7 @@ class NewsController extends Controller
$news = $newsRepo->findBy($searchCriteria, array('createdAt' => 'DESC'), 4);
return array(
'news' => $news,
'recentNews' => $news,
);
}
}

@ -5,11 +5,10 @@
<head>
<title>Kék Rózsák{% block title %}{% endblock %}</title>
<meta charset="utf8" />
<link rel="stylesheet" type="text/css" href="{{ asset('css/kekrozsak_front.css') }}" />
<link rel="stylesheet" type="text/css" href="{{ asset('js/jquery-cluetip/jquery.cluetip.css') }}" />
{% stylesheets 'bundles/kekrozsakfront/css/*' filter='cssrewrite' output='css/kekrozsak.css' %}
<link rel="stylesheet" type="text/css" href="{{ asset_url }}" />
{% endstylesheets %}
<link rel="stylesheet" type="text/css" href="{{ asset('js/jquery-cluetip/jquery.cluetip.css') }}" />
{% block additional_css %}{% endblock %}
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
<script type="text/javascript" src="{{ asset('js/jquery-cluetip/lib/jquery.hoverIntent.js')}}"></script>

Loading…
Cancel
Save