add simple blog controller

This commit is contained in:
Torsten Ruger
2018-04-10 19:11:33 +03:00
parent 5950fac3ce
commit 4b927c4f29
5 changed files with 248 additions and 0 deletions

View File

@ -15,5 +15,8 @@ module RubyxWebpage
# Application configuration can go into files in config/initializers
# -- all .rb files in that directory are automatically loaded after loading
# the framework and any gems in your application.
config.assets.paths << Gem.loaded_specs['susy'].full_gem_path+'/sass'
config.blog_path = Rails.root.to_s + "/app/views/posts"
end
end