aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--site/Gemfile1
-rw-r--r--site/Gemfile.lock2
-rw-r--r--site/app/models/agenda_item.rb2
3 files changed, 4 insertions, 1 deletions
diff --git a/site/Gemfile b/site/Gemfile
index a95faa0..2e090f4 100644
--- a/site/Gemfile
+++ b/site/Gemfile
@@ -4,6 +4,7 @@ gem 'sqlite3-ruby', :require => 'sqlite3'
gem 'devise'
gem 'hobo_devise', '>=0.0.2'
gem 'delayed_job'
+gem 'bluecloth'
group :development, :test do
gem 'ruby-debug'
diff --git a/site/Gemfile.lock b/site/Gemfile.lock
index aca3ead..6d5bbb4 100644
--- a/site/Gemfile.lock
+++ b/site/Gemfile.lock
@@ -31,6 +31,7 @@ GEM
addressable (2.2.5)
arel (2.0.9)
bcrypt-ruby (2.1.4)
+ bluecloth (2.1.0)
builder (3.0.0)
capybara (0.4.1.2)
celerity (>= 0.7.9)
@@ -210,6 +211,7 @@ PLATFORMS
ruby
DEPENDENCIES
+ bluecloth
capybara
cucumber-rails
database_cleaner
diff --git a/site/app/models/agenda_item.rb b/site/app/models/agenda_item.rb
index 0ce60ea..eaa6ede 100644
--- a/site/app/models/agenda_item.rb
+++ b/site/app/models/agenda_item.rb
@@ -5,7 +5,7 @@ class AgendaItem < ActiveRecord::Base
fields do
title :string
discussion :string
- body :text
+ body :markdown
rejected :boolean, :default => false
timelimits :text, :null => false, :default => ''
timestamps