Commit
ad280692e77ded7abd7b41bc6f4b4966d978742a
Exists in
staging
and in
26 other branches
angular_poc, api-article-archived, api-homepage, api_visitor, article-readonly, caching-rails4, captcha_serpro_plugin, comment_paragraph_api, comments_api_reply, content-manager-hostspot, environment-api, export-comment-paragraph, fix_event_date_issue, fix_multitenancy, fix_profile_wall, fix_string_downcase_and_upcase, fix_upload_files_on_development_environment, json_cookie_serializer, login-captcha, master, new_security, new_video_plugin, pg_search_rank, production, resend_confirmation_email, tasks_keep_filter_params
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 || '' |