You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
checkout browsercms from git and reset head to 4a123752d3cf417fdd4d10ea34a92ab9d3236c39
sudo rake cms:install
in a separate directory execute ' rails browsercmstest -d postgresql -m /path/to/browsercms/templates/blank.rb'
Now create a custom content type using './script/generate content_block client name:string description:html image:attachment'
Upon starting the server, and logging in, when I try to create a new content type of 'client' I get this error:
Message
undefined method `cms__url' for #Cms::ClientsController:0x2f0bc3c
Stacktrace
On line #8 of /opt/local/lib/ruby/gems/1.8/gems/browser_cms-3.0.0.203/app/views/cms/blocks/new.html.erb
Imported from lighthouse. Original ticket at: http://browsermedia.lighthouseapp.com/projects/28481/tickets/28. Created by Gordon Anderson - 2009-10-23 13:41:07 UTC
Steps to recreate are as follows:
Message
undefined method `cms__url' for #Cms::ClientsController:0x2f0bc3c
Stacktrace
On line #8 of /opt/local/lib/ruby/gems/1.8/gems/browser_cms-3.0.0.203/app/views/cms/blocks/new.html.erb
At first glance it looks like this method (in path_helper.rb) is failing:
def cms_index_url_for(resource, options={})
send("cms_#{resource_collection_name(resource).pluralize}_url", options)
end
It is returning cms__url, ie the middle section is blank
Thanks
Gordon
The text was updated successfully, but these errors were encountered: