diff --git a/app.rb b/app.rb index 7bc00d3c..0d3bb4c0 100644 --- a/app.rb +++ b/app.rb @@ -124,7 +124,7 @@ post '/settings/create_child' do if site.valid? site.save - flash[:success] = 'Your new site has been created!' + flash[:success] = 'Your new site has been created! To manage it, click your username in the top right and go to "Switch Site".' redirect '/settings#sites' else flash[:error] = site.errors.first.last.first diff --git a/views/_news_profile_comment.erb b/views/_news_profile_comment.erb index 845448ec..5840d82f 100644 --- a/views/_news_profile_comment.erb +++ b/views/_news_profile_comment.erb @@ -1,5 +1,5 @@ -<% actioning_site = profile_comment.actioning_site_dataset.select(:id, :username, :stripe_customer_id).first %> -<% site = profile_comment.site_dataset.select(:id, :username, :stripe_customer_id).first %> +<% actioning_site = profile_comment.actioning_site_dataset.select(:id, :username, :stripe_customer_id, :plan_type, :parent_site_id).first %> +<% site = profile_comment.site_dataset.select(:id, :username, :stripe_customer_id, :plan_type, :parent_site_id).first %>