

search_elements:
  pattern:  /search-elements/{context}
  defaults: { _controller: MuzichCoreBundle:Search:searchElements }
  
search_elements_more:
  pattern:  /search-elements/{context}/{id_limit}/{session_id}
  defaults: { _controller: MuzichCoreBundle:Search:searchElements, session_id: null }
   
search_elements_show_more_empty:
  pattern:  /search-elements/show/{context}/{type}/{object_id}
  defaults: { _controller: MuzichCoreBundle:Search:searchElementsShow }
    
search_elements_show_more:
  pattern:  /search-elements/show/{context}/{type}/{object_id}/{id_limit}
  defaults: { _controller: MuzichCoreBundle:Search:searchElementsShow }
   
global_search_elements_empty:
  pattern:  /global-search-elements
  defaults: { _controller: MuzichCoreBundle:Search:globalSearchMore, context: global_search }
  
global_search_elements:
  pattern:  /global-search-elements/{context}/{last_id}/{string}
  defaults: { _controller: MuzichCoreBundle:Search:globalSearchMore, context: global_search }
   
follow:
  pattern:  /follow/{type}/{id}/{token}
  defaults: { _controller: MuzichCoreBundle:Core:follow }
   
element_add:
  pattern:  /element/add/{group_slug}
  defaults: { _controller: MuzichCoreBundle:Core:elementAdd, group_slug: null }

search_tag:
  pattern: /search/tag/{timestamp}
  defaults: { _controller: MuzichCoreBundle:Search:searchTag, timestamp: null }
  
search_tag_ig_by_name:
  pattern: /search/tagid/{string_search}
  defaults: { _controller: MuzichCoreBundle:Search:searchTagId, string_search: null }

filter_clear:
  pattern: /filter/clear
  defaults: { _controller: MuzichCoreBundle:Core:filterClear }

filter_mytags:
  pattern: /filter/my-tags
  defaults: { _controller: MuzichCoreBundle:Core:filterMytags }

ajax_get_favorites_tags:
  pattern: /ajax/my-favorites-tags/{favorites}
  defaults: { _controller: MuzichCoreBundle:Core:getDefaultTags, favorites: false }

ajax_add_tag:
  pattern: /ajax/add-tag
  defaults: { _controller: MuzichCoreBundle:Core:addTag }
  
ajax_element_add_vote_good:
  pattern: /ajax/element/vote/add/good/{element_id}/{token}
  defaults: { _controller: MuzichCoreBundle:Element:addVoteGood }
  
ajax_element_remove_vote_good:
  pattern: /ajax/element/vote/remove/good/{element_id}/{token}
  defaults: { _controller: MuzichCoreBundle:Element:removeVoteGood }

ajax_filter_remove_ids:
  pattern: /ajax/filter/remove/ids
  defaults: { _controller: MuzichCoreBundle:Core:filterRemoveIds }

####

info_about:
  pattern: /info/about
  defaults: { _controller: MuzichCoreBundle:Info:about }
  
info_development:
  pattern: /info/development
  defaults: { _controller: MuzichCoreBundle:Info:development }

info_sites:
  pattern: /info/sites
  defaults: { _controller: MuzichCoreBundle:Info:sites }
  
info_cgu:
  pattern: /info/cgu
  defaults: { _controller: MuzichCoreBundle:Info:cgu }
  
test_errors:
  pattern: /info/test-error/{code}
  defaults: { _controller: MuzichCoreBundle:Info:testError, code: null }
  
### helper

helpbox_bootstrap:
  pattern: /info/help/{ressource_id}
  defaults: { _controller: MuzichCoreBundle:Info:helpbox }

####

element_edit:
  pattern: /element/{element_id}/edit
  defaults: { _controller: MuzichCoreBundle:Element:edit }

element_update:
  pattern: /element/{element_id}/update/{dom_id}
  defaults: { _controller: MuzichCoreBundle:Element:update }
  
element_remove:
  pattern: /element/{element_id}/remove/{token}
  defaults: { _controller: MuzichCoreBundle:Element:remove }
  
element_new_count:
  pattern: /ajax/element/new/count/{refid}
  defaults: { _controller: MuzichCoreBundle:Element:countNews, refid: null }
  
element_new_get:
  pattern: /ajax/element/new/get/{refid}
  defaults: { _controller: MuzichCoreBundle:Element:getNews, refid: null }
  
element_remove_from_group:
  pattern: /ajax/group/{group_id}/remove-element/{element_id}/{token}
  defaults: { _controller: MuzichCoreBundle:Element:removeFromGroup }
  
##

ajax_tag_add_to_favorites:
  pattern: /ajax/tag/add-to-favorites/{tag_id}/{token}
  defaults: { _controller: MuzichCoreBundle:Core:addTagToFavorites }

ajax_set_element_group:
  pattern: /ajax/element/set-group/{element_id}/{group_id}/{token}
  defaults: { _controller: MuzichCoreBundle:Core:setElementGroup }
  
ajax_report_element:
  pattern: /ajax/element/report/{element_id}/{token}
  defaults: { _controller: MuzichCoreBundle:Core:reportElement }
  
ajax_reshare_element:
  pattern: /ajax/element/reshare/{element_id}/{token}
  defaults: { _controller: MuzichCoreBundle:Element:reshare }
  
ajax_element_propose_tags_open:
  pattern: /ajax/element/propose/tags/{element_id}
  defaults: { _controller: MuzichCoreBundle:Element:proposeTagsOpen }
  
ajax_element_propose_tags_proceed:
  pattern: /ajax/element/propose/tags/{element_id}/proceed/{token}
  defaults: { _controller: MuzichCoreBundle:Element:proposeTagsProceed }
  
ajax_element_proposed_tags_view:
  pattern: /ajax/element/proposed/tags/{element_id}/view
  defaults: { _controller: MuzichCoreBundle:Element:proposedTagsView }
  
ajax_element_proposed_tags_accept:
  pattern: /ajax/element/proposed/tags/accept/{proposition_id}/{token}
  defaults: { _controller: MuzichCoreBundle:Element:proposedTagsAccept }
  
ajax_element_proposed_tags_refuse:
  pattern: /ajax/element/proposed/tags/refuses/{element_id}/{token}
  defaults: { _controller: MuzichCoreBundle:Element:proposedTagsRefuse }
  
## search
  
global_search:
  pattern:  /search
  defaults: { _controller: MuzichCoreBundle:Search:global }
  
  
## lol

teapot:
  pattern: /what/are/you
  defaults: { _controller: MuzichCoreBundle:Info:teapot }
#

element_retrieve_api_datas:
  pattern: /ajax/element/get/datas/api
  defaults: { _controller: MuzichCoreBundle:Element:getDatasApi }
    
elements_get_filter_data_autoplay:
  pattern: /ajax/elements/get/datas/autoplay/{element_id}/{type}/{data}
  defaults: { _controller: MuzichCoreBundle:Element:getDatasAutoplay, data: null }
    
elements_get_filter_data_autoplay_show:
  pattern: /ajax/show/{show_type}/{show_id}/elements/get/datas/autoplay/{element_id}/{data}
  defaults: { _controller: MuzichCoreBundle:Element:getDatasAutoplay, type: 'show', data: null }
    
elements_get_filter_data_autoplay_favorite:
  pattern: /ajax/favorite/{show_type}/{show_id}/elements/get/datas/autoplay/{element_id}/{data}
  defaults: { _controller: MuzichCoreBundle:Element:getDatasAutoplay, type: 'favorite', data: null }
    
element_show_need_tags:
  pattern: /need-tags
  defaults: { _controller: MuzichHomeBundle:Home:needTags }

element_dom_get_one:
  pattern: /ajax/element/dom/get/{type}/{element_id}
  defaults: { _controller: MuzichCoreBundle:Element:getOneDom, element_id: null }

element_get_one:
  pattern: /ajax/element/get/{element_id}
  defaults: { _controller: MuzichCoreBundle:Element:getOne }

element_get_stream_data:
  pattern: /ajax/element/data/get/stream/{element_id}
  defaults: { _controller: MuzichCoreBundle:Element:geJamendotStreamDatas, element_id: null }

url_get_embed_for_element:
  pattern: /ajax/element/data/get/embed/{element_id}
  defaults: { _controller: MuzichCoreBundle:Element:getEmbedCode, element_id: null }

