Skip to content

Commit

Permalink
Too much indent on the new configuration file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Kieran Pilkington committed Jan 9, 2010
1 parent 944b21b commit 14be483
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions lib/tiny_mce.rb
Expand Up @@ -48,14 +48,12 @@ def self.install_or_update_tinymce
tiny_mce_yaml_filepath = File.join(RAILS_ROOT, 'config', 'tiny_mce.yml')
unless File.exists?(tiny_mce_yaml_filepath)
File.open(tiny_mce_yaml_filepath, 'w') do |f|
f.write <<-EOS
# Here you can specify default options for TinyMCE across all controllers
#
# theme: advanced
# plugins:
# - table
# - fullscreen
EOS
f.write '# Here you can specify default options for TinyMCE across all controllers'
f.wrtie '#'
f.write '# theme: advanced'
f.write '# plugins:'
f.write '# - table'
f.write '# - fullscreen'
end
puts "Written configuration example to #{tiny_mce_yaml_filepath}"
end
Expand Down

0 comments on commit 14be483

Please sign in to comment.