lib/scidea/schools/engine.rb in scidea-schools-1.0.0 vs lib/scidea/schools/engine.rb in scidea-schools-1.0.1

- old
+ new

@@ -4,10 +4,10 @@ module Scidea module Schools class Engine < ::Rails::Engine initializer "scidea.schools.register_view_callbacks" do - Scidea::Plugins::Plugin.on(:admin_user_form_after_profile) { conditional_render('admin/users/school_edit') } + Scidea::Plugins::Plugin.on(:admin_user_form_after_profile) { conditional_render('users/school_edit') } Scidea::Plugins::Plugin.on(:registration_new_after_profile) { conditional_render('users/school_edit') } Scidea::Plugins::Plugin.on(:user_profile_form_after_profile) { conditional_render('users/school_edit') } Scidea::Plugins::Plugin.on(:admin_user_profile_after_profile) { 'admin/users/profile_show_school' }