browsermedia / browsercms

BrowserCMS: Humane Content Management for Rails
http://browsercms.org
GNU Lesser General Public License v3.0
1.17k stars 260 forks source link

Generated content_blocks reference non-existant controller #670

Closed peakpg closed 10 years ago

peakpg commented 10 years ago

Assuming you have a bcms project named 'myproject' when you run:

rails g cms:content_block Product
rake db:migrate

The application will fail to start with the following error:

No such file to load -- myproject/application_controller

Cause is this line: require_dependency "myproject/application_controller" which should be added as a file by content_block generators.

peakpg commented 10 years ago

Fixed