Skip to content

Commit

Permalink
enable to use youtube and vimeo videos into about text
Browse files Browse the repository at this point in the history
  • Loading branch information
devton committed Apr 11, 2012
1 parent 218479d commit d310d57
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/models/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ class Project < ActiveRecord::Base
'<' => '&lt;',
'"' => '"' }
redcloth :target => :_blank
youtube :width => 580, :height => 378
vimeo :width => 580, :height => 378
link :target => :_blank
end
scope :visible, where(:visible => true)
Expand Down

0 comments on commit d310d57

Please sign in to comment.