Sha256: 8dc5453c823cf9b2d04d90a012739455d216fc9729ba348d8ad1843dd2a5523f
Contents?: true
Size: 340 Bytes
Versions: 23
Compression:
Stored size: 340 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
23 entries across 23 versions & 1 rubygems