diff --git a/app/controllers/admin/import_data_controller.rb b/app/controllers/admin/import_data_controller.rb index 7ae3b265..68a4b859 100644 --- a/app/controllers/admin/import_data_controller.rb +++ b/app/controllers/admin/import_data_controller.rb @@ -6,6 +6,8 @@ require 'open-uri' class Admin::ImportDataController < OrbitBackendController # helper Admin::PagePartsHelper # include Admin::FrontendWidgetInterface + open_for_user + open_for_admin def get_teacher_data uri = URI("https://localhost:8000/teachers.xml") diff --git a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/plugin/_profile.html.erb b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/plugin/_profile.html.erb index 3813ce3d..19c1f9b2 100644 --- a/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/plugin/_profile.html.erb +++ b/vendor/built_in_modules/personal_journal/app/views/panel/personal_journal/plugin/_profile.html.erb @@ -77,7 +77,6 @@ -<% if is_admin? %>