diff options
| author | Louise Crow <louise.crow@gmail.com> | 2015-06-18 18:05:04 +0100 |
|---|---|---|
| committer | Louise Crow <louise.crow@gmail.com> | 2015-06-23 14:53:48 +0100 |
| commit | 886394e349b1801fb780cad985cc7cae74f0eb91 (patch) | |
| tree | 35a47711f35062173c36fba83d787578ae1dc18c /app/controllers/api_controller.rb | |
| parent | d44feff6c6ab5851cad3e99472e698755fc9d536 (diff) | |
Use BASH_SOURCE to return the script path.
It is reliable in the case where the script is sourced from another
script.
Diffstat (limited to 'app/controllers/api_controller.rb')
0 files changed, 0 insertions, 0 deletions
