[Git][noosfero/noosfero][master] 2 commits: routes: move about and activities routes to profile namespace

Rodrigo Souto gitlab at mg.gitlab.com
Fri Nov 10 14:47:02 BRST 2017


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
2eb4ef74 by Rodrigo Souto at 2017-11-06T16:30:33-03:00
routes: move about and activities routes to profile namespace

- - - - -
439e3f4e by Rodrigo Souto at 2017-11-10T16:46:45+00:00
Merge branch 'profile-routes' into 'master'

routes: move about and activities routes to profile namespace

Closes #283

See merge request noosfero/noosfero!1348
- - - - -


1 changed file:

- config/routes/profile/21_profile.rb


Changes:

=====================================
config/routes/profile/21_profile.rb
=====================================
--- a/config/routes/profile/21_profile.rb
+++ b/config/routes/profile/21_profile.rb
@@ -1,7 +1,7 @@
 Noosfero::Application.routes.draw do
 
-  match ':profile/about', controller: :profile, action: :about, profile: /#{Noosfero.identifier_format_in_url}/i, via: :all
-  match ':profile/activities', controller: :profile, action: :activities, profile: /#{Noosfero.identifier_format_in_url}/i, via: :all
+  match 'profile/:profile/about', controller: :profile, action: :about, profile: /#{Noosfero.identifier_format_in_url}/i, via: :all
+  match 'profile/:profile/activities', controller: :profile, action: :activities, profile: /#{Noosfero.identifier_format_in_url}/i, via: :all
 
   # events
   match 'profile/:profile/events_by_day', controller: :events, action: :events_by_day, profile: /#{Noosfero.identifier_format_in_url}/i, via: :all



View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/560a17db4fc51493cb15a8fd0d97876178c1a963...439e3f4ee06a611bf2ea63d1731ef6bf921d8d25

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/compare/560a17db4fc51493cb15a8fd0d97876178c1a963...439e3f4ee06a611bf2ea63d1731ef6bf921d8d25
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20171110/45e4c17d/attachment.html>


More information about the Noosfero-dev mailing list