Commit
ad280692e77ded7abd7b41bc6f4b4966d978742a
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
sample-data: use require_relative
|
1
| #!/usr/bin/env ruby |
1
| #!/usr/bin/env ruby |
|
2
| -require File.dirname(__FILE__) + '/../config/environment' |
2
| +require_relative '../config/environment' |
|
3
| include Noosfero::SampleDataHelper |
3
| include Noosfero::SampleDataHelper |
|
4
| |
4
| |
|
5
| id = ARGV.first || '' |
5
| id = ARGV.first || '' |