diff --git a/app/views/portfolios/index.html.haml b/app/views/portfolios/index.html.haml
index 4356d00..b98d1c4 100644
--- a/app/views/portfolios/index.html.haml
+++ b/app/views/portfolios/index.html.haml
@@ -11,7 +11,7 @@ Inauguration le samedi 23 mars à 11h.
 		
 		
 	-@index_images.each do |img|
-		=link_to image_tag(img.photo.square.url), portfolio_path(:id => img.portfolios.first.slug, :page => img.page(img.portfolios.first),:position => img.position(img.portfolios.first))
+		=link_to image_tag(img.photo.square.url), portfolio_path(:id => img.portfolios.first.slug, :page => img.page(img.portfolios.first))
 	%p{:style => "clear:both;height:2px;"}
 	:javascript
 		function size_index_images(){
diff --git a/config/routes.rb b/config/routes.rb
index 6856889..ca0150e 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -4,9 +4,11 @@ SitePerso::Application.routes.draw do
   
   
   match ":id.:format" => 'pages#show', :as => :page, :format => "html"
+  match "portfolio/:id/:page.:format" => 'portfolios#show',:page => "1", :as => :portfolio, :format => "html"
+  
   resources :portfolios
   
-  #match "galerie/:slug.:format" => 'portfolios#show', :as => :portfolio, :format => "html", :via => :get
+  
   
   namespace :admin do
     root :to => "dashboard#index"