aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/lines_controller.rb
diff options
context:
space:
mode:
authorMarc Florisson2012-04-24 13:28:41 +0200
committerMarc Florisson2012-04-24 13:28:41 +0200
commit24148be964f69140ea46a830cd0d07e43aa61bfc (patch)
tree66d2e10974bcb4bb0ab8cf7fda8ff11d38dae8e7 /app/controllers/lines_controller.rb
parent53cb5d9db1f3ccde220124e75dc04c91bd1802a3 (diff)
downloadchouette-core-24148be964f69140ea46a830cd0d07e43aa61bfc.tar.bz2
add route's views
Diffstat (limited to 'app/controllers/lines_controller.rb')
-rw-r--r--app/controllers/lines_controller.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/lines_controller.rb b/app/controllers/lines_controller.rb
index ac441f3ad..9d4ec18ae 100644
--- a/app/controllers/lines_controller.rb
+++ b/app/controllers/lines_controller.rb
@@ -8,6 +8,7 @@ class LinesController < ChouetteController
def show
@map = LineMap.new referential, resource
+ @routes = @line.routes.paginate(:page => params[:page], :per_page => 10)
show!
end