diff --git a/app/controllers/homes_controller.rb b/app/controllers/homes_controller.rb index 8b867678..f0e1b4c3 100644 --- a/app/controllers/homes_controller.rb +++ b/app/controllers/homes_controller.rb @@ -45,9 +45,9 @@ def documentation authorize! :documentation, :home end - def impressum + def legal_disclosure @about_page = true - authorize! :impressum, :home + authorize! :legal_disclosure, :home end def privacy_policy diff --git a/app/models/ability.rb b/app/models/ability.rb index cc350b71..187d48f0 100644 --- a/app/models/ability.rb +++ b/app/models/ability.rb @@ -31,7 +31,7 @@ def initialize(user) # https://github.com/CanCanCommunity/cancancan/wiki/Defining-Abilities # Permissions for every user, even if not logged in - can %i[about progress documentation impressum privacy_policy multisearch_app], :home + can %i[about progress documentation legal_disclosure privacy_policy multisearch_app], :home can :manage, :progress_overview can %i[edit index filter taxonomy_tree associated_specimen find_ancestry show_individuals show_children], Taxon diff --git a/app/views/homes/impressum.html.erb b/app/views/homes/impressum.html.erb deleted file mode 100644 index c137f2e1..00000000 --- a/app/views/homes/impressum.html.erb +++ /dev/null @@ -1,11 +0,0 @@ -
Web application written by and responsible for this website in accordance with § 5 Telemediengesetz and § 55 Staatsvertrag für Rundfunk und Telemedien:
+
+ Kai Müller
+ Hüfferstr. 1, 48149 Münster
+ Telefon: +49 251 83-21645
+ E-Mail: kaimueller@uni-muenster.de
+
Co-author:
+
+ Sarah Wiechers
+ Hüfferstr. 1, 48149 Münster
+ Telefon: +49 251 83-21099
+ E-Mail: sarah.wiechers@uni-muenster.de
+
Organisation
+
+ Evolution and Biodiversity of Plants
+ Institute for Evolution and Biodiversity
+ Westfälische Wilhelms-Universität Münster
+ (Statutory body and an institution of the state of North Rhine-Westphalia)
+ Hüfferstraße 1
+ 48149 Münster
+ Germany
+
Tax ID number: DE 126118759
+ +Inspecting authority
+
+ Ministry for innovation, science and research of North Rhine-Westphalia
+ (Ministerium für Innovation, Wissenschaft und Forschung des Landes Nordrhein-Westfalen)
+ Völklinger Straße 49
+ 40221 Düsseldorf
+ Germany
+