action_mailer_request plugin was not called when Locomotive was used as an engine [fixed]

This commit is contained in:
dinedine 2010-07-15 13:10:00 +02:00
parent ab53e8e090
commit 0be89c253d
5 changed files with 4 additions and 6 deletions

View File

@ -45,8 +45,6 @@ class AssetUploader < CarrierWave::Uploader::Base
end
end
puts "content_type = #{value}"
model.content_type = value
end

View File

@ -1,7 +1,6 @@
- if contents.empty?
%p.no-items= t('.no_items', :url => new_admin_content_url(@content_type.slug))
- else
- puts contents.inspect
%ul{ :id => 'contents-list', :class => "list #{'sortable' if @content_type.order_by == '_position_in_list'}" }
- contents.each do |content|
%li.content{ :id => "content-#{content._id}" }

View File

@ -10,7 +10,6 @@ require 'locomotive/httparty'
require 'locomotive/inherited_resources'
require 'locomotive/admin_responder'
require 'redcloth'
require 'mongo_session_store/mongoid'
module Locomotive

View File

@ -8,6 +8,8 @@ require 'formtastic'
require 'mongoid'
require 'mongoid_acts_as_tree'
require 'httparty'
require 'redcloth'
require 'actionmailer_with_request'
# FIXME: get rid of it once custom_fields is a gem
require File.dirname(__FILE__) + '/../../vendor/plugins/custom_fields/init.rb'

View File

@ -5,11 +5,11 @@
Gem::Specification.new do |s|
s.name = %q{locomotive_cms}
s.version = "0.0.3.0"
s.version = "0.0.3.1"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Didier Lafforgue"]
s.date = %q{2010-07-14}
s.date = %q{2010-07-15}
s.description = %q{a brand new CMS system with super sexy UI and cool features (alpha version for now)}
s.email = ["didier@nocoffee.fr"]
s.extra_rdoc_files = [