Sha256: 3d2bdf7b1c884d0fad327561e2c30805580a2b5c6fd892888cc3d8e476c360f3
Contents?: true
Size: 342 Bytes
Versions: 3
Compression:
Stored size: 342 Bytes
Contents
class Hobo::Dryml::DrymlSupportController < ActionController::Base def edit_source dryml_editor = ENV['DRYML_EDITOR'] if dryml_editor file = File.join(RAILS_ROOT, params[:file]) command = dryml_editor.sub(":file", file).sub(":line", params[:line]) system(command) end render :nothing => true end end
Version data entries
3 entries across 3 versions & 1 rubygems