spec/dummy/app/controllers/application_controller.rb in manageable_content-0.0.1 vs spec/dummy/app/controllers/application_controller.rb in manageable_content-0.1.1
- old
+ new
@@ -1,8 +1,11 @@
class ApplicationController < ActionController::Base
include ManageableContent::Controllers::Dsl
protect_from_forgery
- manageable_layout_content_for :footer_copyright, :footer_contact
- manageable_content_for :title, :keywords
+ manageable_layout_content_for :footer_contact, :type => :string
+ manageable_layout_content_for :footer_copyright, :type => :text
+
+ manageable_content_for :title, :type => :string
+ manageable_content_for :keywords, :type => :text
end