joshsoftware / feather_cms

Feather CMS is a lightweight CMS
MIT License
21 stars 10 forks source link

Creating new pages has problems #1

Open gautamrege opened 12 years ago

gautamrege commented 12 years ago

I have already run

  rails g feather_cms about_us

Now, if I want to add a new page, there is no way I can do it using command line generator.

bundle exec rails g feather_cms trust
    conflict  config/initializers/feather_cms.rb
Overwrite /users/gautam/work/ideahub/config/initializers/feather_cms.rb? (enter "h" for help) [Ynaqdh] n
        skip  config/initializers/feather_cms.rb
   identical  app/controllers/feathers_controller.rb
   identical  app/models/feather_page.rb
   identical  app/helpers/feathers_helper.rb
    conflict  db/migrate/20120521120228_create_feather_pages.rb
Overwrite /users/gautam/work/ideahub/db/migrate/20120521120228_create_feather_pages.rb? (enter "h" for help) [Ynaqdh] n
        skip  db/migrate/20120521120228_create_feather_pages.rb
       route  
  scope '/feathers' do
    match 'page/:type/(:status)' => 'feathers#page', :as => :feather_page
    get 'pages' => 'feathers#index', :as => :feather_pages
    get 'preivew/:type/(:status)' => 'feathers#preivew', :as => 'feather_page_preview'
  end
  get 'page/:type' => 'feathers#published', :as => 'feather_published_page'
    conflict  app/views/layouts/feather_layout.html.erb
Overwrite /users/gautam/work/ideahub/app/views/layouts/feather_layout.html.erb? (enter "h" for help) [Ynaqdh] n
        skip  app/views/layouts/feather_layout.html.erb
   identical  app/views/feathers/index.html.erb
      create  app/views/feathers/trust.html.erb
       exist  app/assets/codemirror
   identical  app/assets/codemirror/codemirror.css
   identical  app/assets/codemirror/codemirror.js
   identical  app/assets/codemirror/feather_cms.js
   identical  app/assets/codemirror/modes/css.js
   identical  app/assets/codemirror/modes/htmlmixed.js
   identical  app/assets/codemirror/modes/javascript.js
   identical  app/assets/codemirror/modes/xml.js
   identical  app/assets/codemirror/util/dialog.css
   identical  app/assets/codemirror/util/dialog.js
   identical  app/assets/codemirror/util/foldcode.js
   identical  app/assets/codemirror/util/formatting.js
   identical  app/assets/codemirror/util/javascript-hint.js
   identical  app/assets/codemirror/util/match-highlighter.js
   identical  app/assets/codemirror/util/overlay.js
   identical  app/assets/codemirror/util/runmode.js
   identical  app/assets/codemirror/util/search.js
   identical  app/assets/codemirror/util/searchcursor.js
   identical  app/assets/codemirror/util/simple-hint.css
   identical  app/assets/codemirror/util/simple-hint.js
      create  app/assets/stylesheets/bootstrap.css

Also, when I started my application, the new page trust was not visible.