Can't see my posts

53 views
Skip to first unread message

fatima...@gmail.com

unread,
Aug 13, 2014, 5:46:24 PM8/13/14
to monolo...@googlegroups.com
Hi -

I have been able to create posts and see the list view, but I'm having trouble seeing my posts. Does anybody know where they are stored to? I saw the convention listed at the create post, but it doesn't work for me?

My routes.rb
mount Monologue::Engine, at: '/blog'


So far, I have tried:
/blog/monologue/2/
http://0.0.0.0:3000/blog/monologue/2/
http://0.0.0.0:3000/blog/monologue/2014/2

When I named my own:

http://0.0.0.0:3000/blog/monologue/goat
http://0.0.0.0:3000/blog/monologue/2014/goat

Would appreciate any help!

Thanks!

fatima...@gmail.com

unread,
Aug 13, 2014, 7:25:26 PM8/13/14
to monolo...@googlegroups.com, fatima...@gmail.com
Ok, got it to work by creating an assets.rb initializers and precompiling these. Anybody know if there is a better way?

Rails.application.config.assets.precompile += %w( monologue/foundation_icons/social_foundicons.eot )
Rails.application.config.assets.precompile += %w( monologue/foundation_icons/social_foundicons.woff )
Rails.application.config.assets.precompile += %w( monologue/foundation_icons/social_foundicons.ttf )

sheraz.is...@gmail.com

unread,
Aug 18, 2014, 12:55:12 PM8/18/14
to monolo...@googlegroups.com, fatima...@gmail.com
You can get your posts by running Monologue::Post.all in rails console.
Reply all
Reply to author
Forward
0 new messages