diff --git a/app/models/environment.rb b/app/models/environment.rb index 605a9ac..a2658a5 100644 --- a/app/models/environment.rb +++ b/app/models/environment.rb @@ -3,7 +3,7 @@ # domains. class Environment < ActiveRecord::Base - attr_accessible :name, :is_default, :signup_welcome_text_subject, :signup_welcome_text_body, :terms_of_use, :message_for_disabled_enterprise, :news_amount_by_folder, :default_language, :languages, :description, :organization_approval_method, :enabled_plugins, :enabled_features + attr_accessible :name, :is_default, :signup_welcome_text_subject, :signup_welcome_text_body, :terms_of_use, :message_for_disabled_enterprise, :news_amount_by_folder, :default_language, :languages, :description, :organization_approval_method, :enabled_plugins, :enabled_features, :redirection_after_login has_many :users diff --git a/features/forum.feature b/features/forum.feature index 11a6327..5eecc07 100644 --- a/features/forum.feature +++ b/features/forum.feature @@ -165,4 +165,4 @@ Feature: forum | article | author | title | body | | Post one | joaosilva | Hi all | Hi all | When I go to /joaosilva/forum - Then I should see "Joao" linking to "http://localhost/joaosilva" + Then I should see "Joao" linking to "http://localhost/joaosilva/" diff --git a/features/support/paths.rb b/features/support/paths.rb index b11c075..1e18f37 100644 --- a/features/support/paths.rb +++ b/features/support/paths.rb @@ -40,7 +40,7 @@ module NavigationHelpers "/myprofile/#{$2}/profile_design/edit/#{block.id}" when /^(.*)'s homepage$/ - '/' + profile_identifier($1) + '/' + profile_identifier($1) + '/' when /^(.*)'s blog$/ '/%s/blog' % profile_identifier($1) -- libgit2 0.21.2