aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/exports_controller.rb
diff options
context:
space:
mode:
authorMichel Etienne2014-09-11 13:32:55 +0200
committerMichel Etienne2014-09-11 13:32:55 +0200
commitf7c74269723c8920044def1617516f53a5393eb1 (patch)
tree81fdfa5a5f0051e7dc0fdd632a2ba0582b466c08 /app/controllers/exports_controller.rb
parentcd591d22126430fd9c1a132862067ce2528a917f (diff)
downloadchouette-core-f7c74269723c8920044def1617516f53a5393eb1.tar.bz2
insert breadcrumb
Diffstat (limited to 'app/controllers/exports_controller.rb')
-rw-r--r--app/controllers/exports_controller.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/controllers/exports_controller.rb b/app/controllers/exports_controller.rb
index ed2ecd329..d5723ff78 100644
--- a/app/controllers/exports_controller.rb
+++ b/app/controllers/exports_controller.rb
@@ -7,6 +7,7 @@ class ExportsController < ChouetteController
def new
new! do
+ add_breadcrumb Referential.human_attribute_name("exports"), referential_exports_path(@referential)
available_exports
end
end
@@ -19,6 +20,7 @@ class ExportsController < ChouetteController
end
def show
+ add_breadcrumb Referential.human_attribute_name("exports"), referential_exports_path(@referential)
show! do |format|
format.zip { send_file @export.file, :type => :zip }
end