Commit
e3b70593b9f73971ec24d4d89877ab070e62bcf5
Exists in
master
and in
21 other branches
activate_plugin, api_fixies, api_tasks, article_blog_visualization_format, article_layout_refactoring, article_layout_temp, blog_page_bug, clone_article, communities_ratings, design_template, event_layout, fix_forum, fix_optional_fields, fix_suggest_article, folder_improvments, manage_organization, news_page, script_to_update, template_mirror_block, tests, tests_fixies
noosfero_urls: move to config/initializers/
|
| @@ -0,0 +1,5 @@ |
| @@ -0,0 +1,5 @@ |
|
| |
1
| +if Rails.env == 'development' |
|
| |
2
| + ActionController::Base.send(:prepend_before_filter) do |controller| |
|
| |
3
| + Noosfero.instance_variable_set('@development_url_options', { :port => controller.request.port }) |
|
| |
4
| + end |
|
| |
5
| +end |
|
| @@ -1,5 +0,0 @@ |
| @@ -1,5 +0,0 @@ |
|
1
| -if Rails.env == 'development' |
| |
|
2
| - ActionController::Base.send(:prepend_before_filter) do |controller| |
| |
|
3
| - Noosfero.instance_variable_set('@development_url_options', { :port => controller.request.port }) |
| |
|
4
| - end |
| |
|
5
| -end |
| |