Skip to content
This repository has been archived by the owner on Dec 18, 2020. It is now read-only.

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
danrot committed Jul 28, 2016
2 parents a576cc3 + 4dcc2c6 commit 2a5ea26
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 96 deletions.
9 changes: 5 additions & 4 deletions app/Resources/webspaces/sulu.io.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,11 @@
<default-template type="homepage">overview</default-template>
</default-templates>

<error-templates>
<error-template default="true">ClientWebsiteBundle:views:error.html.twig</error-template>
<error-template code="404">ClientWebsiteBundle:views:error404.html.twig</error-template>
</error-templates>
<templates>
<template type="search">ClientWebsiteBundle:views:query.html.twig</template>
<template type="error">ClientWebsiteBundle:views:error.html.twig</template>
<template type="error-404">ClientWebsiteBundle:views:error404.html.twig</template>
</templates>

<navigation>
<contexts>
Expand Down
4 changes: 2 additions & 2 deletions app/config/website/routing.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
sulu_media:
resource: "@SuluMediaBundle/Resources/config/routing_website.yml"

client_website:
sulu_search:
type: portal
resource: "@ClientWebsiteBundle/Resources/config/routing.yml"
resource: "@SuluSearchBundle/Resources/config/routing_website.xml"

sulu_website:
resource: "@SuluWebsiteBundle/Resources/config/routing_website.yml"
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"sensio/distribution-bundle": "~5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "~2.0",
"sulu/sulu": "1.3.0-RC1",
"sulu/sulu": "dev-develop",
"sulu/theme-bundle": "1.0.*",
"sulu/document-manager": "@dev",
"symfony-cmf/core-bundle": "1.2.*",
Expand Down
18 changes: 9 additions & 9 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

75 changes: 0 additions & 75 deletions src/Client/Bundle/WebsiteBundle/Controller/SearchController.php

This file was deleted.

4 changes: 0 additions & 4 deletions src/Client/Bundle/WebsiteBundle/Resources/config/routing.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
</div>
</div>
<div class="col-lg-3">
<form action="{{ path('website_search') }}" method="GET">
<form action="{{ path('sulu_search.website_search') }}" method="GET">
<input name="q" type="text" placeholder="Search" />
<input type="submit" value="Go" />
</form>
Expand Down

0 comments on commit 2a5ea26

Please sign in to comment.