Guest User

Untitled

a guest
Jul 19th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. #--- ERROR MESSAGE when trying to go to localhost:3000/cms. Hiding it works fine(!) by doing localhost:3000/cms/hide
  2.  
  3. Missing template c:/Ruby187/lib/ruby/gems/1.8/gems/rich_cms-2.1.7/app/views/rich_cms.html with {:formats=>[:html], :locale=>[:nl, :nl], :handlers=>[:rjs, :haml, :rhtml, :rxml, :builder, :erb]}
  4.  
  5. #--- \lib\rich\cms\engine.rb
  6. %w{ controllers views }.each do |dir|
  7. path = File.expand_path(File.join(File.dirname(__FILE__), '../../app', dir))
  8. $LOAD_PATH << path
  9. ActiveSupport::Dependencies.autoload_paths << path
  10. ActiveSupport::Dependencies.autoload_once_paths.delete(path)
  11. end
  12.  
  13. #--- ACTUAL TEMPLATE THAT HAS TO BE RENDERED IS CALLED rich_cms.html.erb
Add Comment
Please, Sign In to add comment