diff options
| author | Marc Florisson | 2012-04-24 13:28:41 +0200 |
|---|---|---|
| committer | Marc Florisson | 2012-04-24 13:28:41 +0200 |
| commit | 24148be964f69140ea46a830cd0d07e43aa61bfc (patch) | |
| tree | 66d2e10974bcb4bb0ab8cf7fda8ff11d38dae8e7 /app/controllers/lines_controller.rb | |
| parent | 53cb5d9db1f3ccde220124e75dc04c91bd1802a3 (diff) | |
| download | chouette-core-24148be964f69140ea46a830cd0d07e43aa61bfc.tar.bz2 | |
add route's views
Diffstat (limited to 'app/controllers/lines_controller.rb')
| -rw-r--r-- | app/controllers/lines_controller.rb | 1 |
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 |
