diff options
| author | Michel Etienne | 2014-08-28 11:44:07 +0200 |
|---|---|---|
| committer | Michel Etienne | 2014-08-28 11:44:07 +0200 |
| commit | 32df4c7578d30d5a413f3da8d66d525d7e80e4f3 (patch) | |
| tree | 553a1206d1c21301b83c5c9fad085d35c6beee12 /app/controllers | |
| parent | 4ff26e0096f122dc74b45b427137eb631da3fd06 (diff) | |
| download | chouette-core-32df4c7578d30d5a413f3da8d66d525d7e80e4f3.tar.bz2 | |
search results : refresh form with ajax
Diffstat (limited to 'app/controllers')
| -rw-r--r-- | app/controllers/companies_controller.rb | 1 | ||||
| -rw-r--r-- | app/controllers/connection_links_controller.rb | 1 | ||||
| -rw-r--r-- | app/controllers/group_of_lines_controller.rb | 1 | ||||
| -rw-r--r-- | app/controllers/networks_controller.rb | 1 | ||||
| -rw-r--r-- | app/controllers/stop_areas_controller.rb | 1 | ||||
| -rw-r--r-- | app/controllers/time_tables_controller.rb | 1 |
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 |
