aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers')
-rw-r--r--app/controllers/companies_controller.rb1
-rw-r--r--app/controllers/connection_links_controller.rb1
-rw-r--r--app/controllers/group_of_lines_controller.rb1
-rw-r--r--app/controllers/networks_controller.rb1
-rw-r--r--app/controllers/stop_areas_controller.rb1
-rw-r--r--app/controllers/time_tables_controller.rb1
6 files changed, 6 insertions, 0 deletions
diff --git a/app/controllers/companies_controller.rb b/app/controllers/companies_controller.rb
index 27f0f9235..3b5631a8f 100644
--- a/app/controllers/companies_controller.rb
+++ b/app/controllers/companies_controller.rb
@@ -3,6 +3,7 @@ class CompaniesController < ChouetteController
respond_to :html
respond_to :xml
respond_to :json
+ respond_to :js, :only => :index
belongs_to :referential, :parent_class => Referential
diff --git a/app/controllers/connection_links_controller.rb b/app/controllers/connection_links_controller.rb
index 6f225af1f..3c7dd3ab6 100644
--- a/app/controllers/connection_links_controller.rb
+++ b/app/controllers/connection_links_controller.rb
@@ -8,6 +8,7 @@ class ConnectionLinksController < ChouetteController
respond_to :html, :xml, :json
respond_to :kml, :only => :show
+ respond_to :js, :only => :index
def index
index! do |format|
diff --git a/app/controllers/group_of_lines_controller.rb b/app/controllers/group_of_lines_controller.rb
index a38b22c10..5bbda9b84 100644
--- a/app/controllers/group_of_lines_controller.rb
+++ b/app/controllers/group_of_lines_controller.rb
@@ -4,6 +4,7 @@ class GroupOfLinesController < ChouetteController
respond_to :xml
respond_to :json
respond_to :kml, :only => :show
+ respond_to :js, :only => :index
belongs_to :referential
diff --git a/app/controllers/networks_controller.rb b/app/controllers/networks_controller.rb
index b911ab603..04d565812 100644
--- a/app/controllers/networks_controller.rb
+++ b/app/controllers/networks_controller.rb
@@ -4,6 +4,7 @@ class NetworksController < ChouetteController
respond_to :xml
respond_to :json
respond_to :kml, :only => :show
+ respond_to :js, :only => :index
belongs_to :referential
diff --git a/app/controllers/stop_areas_controller.rb b/app/controllers/stop_areas_controller.rb
index 80723dc02..e18f89cab 100644
--- a/app/controllers/stop_areas_controller.rb
+++ b/app/controllers/stop_areas_controller.rb
@@ -9,6 +9,7 @@ class StopAreasController < ChouetteController
end
respond_to :html, :kml, :xml, :json
+ respond_to :js, :only => :index
# def complete
# @stop_areas = line.stop_areas
diff --git a/app/controllers/time_tables_controller.rb b/app/controllers/time_tables_controller.rb
index a18603ed9..586713c60 100644
--- a/app/controllers/time_tables_controller.rb
+++ b/app/controllers/time_tables_controller.rb
@@ -4,6 +4,7 @@ class TimeTablesController < ChouetteController
respond_to :html
respond_to :xml
respond_to :json
+ respond_to :js, :only => :index
belongs_to :referential