diff options
Diffstat (limited to 'app/controllers/networks_controller.rb')
| -rw-r--r-- | app/controllers/networks_controller.rb | 7 | 
1 files changed, 7 insertions, 0 deletions
diff --git a/app/controllers/networks_controller.rb b/app/controllers/networks_controller.rb index e5c3e3ca7..ce65d158f 100644 --- a/app/controllers/networks_controller.rb +++ b/app/controllers/networks_controller.rb @@ -4,6 +4,13 @@ class NetworksController < ChouetteController    respond_to :xml    respond_to :json +  belongs_to :referential + +  def show +    @map = NetworkMap.new referential, resource +    show! +  end +    protected    def collection      | 
