action_mailer_request plugin was not called when Locomotive was used as an engine [fixed]
This commit is contained in:
parent
ab53e8e090
commit
0be89c253d
@ -45,8 +45,6 @@ class AssetUploader < CarrierWave::Uploader::Base
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
puts "content_type = #{value}"
|
|
||||||
|
|
||||||
model.content_type = value
|
model.content_type = value
|
||||||
end
|
end
|
||||||
|
|
||||||
|
@ -1,7 +1,6 @@
|
|||||||
- if contents.empty?
|
- if contents.empty?
|
||||||
%p.no-items= t('.no_items', :url => new_admin_content_url(@content_type.slug))
|
%p.no-items= t('.no_items', :url => new_admin_content_url(@content_type.slug))
|
||||||
- else
|
- else
|
||||||
- puts contents.inspect
|
|
||||||
%ul{ :id => 'contents-list', :class => "list #{'sortable' if @content_type.order_by == '_position_in_list'}" }
|
%ul{ :id => 'contents-list', :class => "list #{'sortable' if @content_type.order_by == '_position_in_list'}" }
|
||||||
- contents.each do |content|
|
- contents.each do |content|
|
||||||
%li.content{ :id => "content-#{content._id}" }
|
%li.content{ :id => "content-#{content._id}" }
|
||||||
|
@ -10,7 +10,6 @@ require 'locomotive/httparty'
|
|||||||
require 'locomotive/inherited_resources'
|
require 'locomotive/inherited_resources'
|
||||||
require 'locomotive/admin_responder'
|
require 'locomotive/admin_responder'
|
||||||
|
|
||||||
require 'redcloth'
|
|
||||||
require 'mongo_session_store/mongoid'
|
require 'mongo_session_store/mongoid'
|
||||||
|
|
||||||
module Locomotive
|
module Locomotive
|
||||||
|
@ -8,6 +8,8 @@ require 'formtastic'
|
|||||||
require 'mongoid'
|
require 'mongoid'
|
||||||
require 'mongoid_acts_as_tree'
|
require 'mongoid_acts_as_tree'
|
||||||
require 'httparty'
|
require 'httparty'
|
||||||
|
require 'redcloth'
|
||||||
|
require 'actionmailer_with_request'
|
||||||
|
|
||||||
# FIXME: get rid of it once custom_fields is a gem
|
# FIXME: get rid of it once custom_fields is a gem
|
||||||
require File.dirname(__FILE__) + '/../../vendor/plugins/custom_fields/init.rb'
|
require File.dirname(__FILE__) + '/../../vendor/plugins/custom_fields/init.rb'
|
||||||
|
@ -5,11 +5,11 @@
|
|||||||
|
|
||||||
Gem::Specification.new do |s|
|
Gem::Specification.new do |s|
|
||||||
s.name = %q{locomotive_cms}
|
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.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
||||||
s.authors = ["Didier Lafforgue"]
|
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.description = %q{a brand new CMS system with super sexy UI and cool features (alpha version for now)}
|
||||||
s.email = ["didier@nocoffee.fr"]
|
s.email = ["didier@nocoffee.fr"]
|
||||||
s.extra_rdoc_files = [
|
s.extra_rdoc_files = [
|
||||||
|
Loading…
Reference in New Issue
Block a user