README.md in kuhsaft-0.2.5 vs README.md in kuhsaft-0.3.0
- old
+ new
@@ -34,18 +34,22 @@
to get the gem
Then install the assets and the migrations and run them:
- rails generate kuhsaft:install:assets
rails generate kuhsaft:install:migrations
rake db:migrate
-
+
If you are upgrading, run those installers again and hopefully we will generate just the migrations you need.
(NOTE: Steps below should hopefully not be necessary in future versions:)
+In order to load the engine's assets you need to require them in your
+application.css:
+
+ //= require kuhsaft
+
Finally, you need to add a before filter to the application controller (for now...)
ApplicationController < ActionController::Base
before_filter :available_locales
@@ -67,7 +71,7 @@
Create a toplevel page and set the page type to "navigation". You can now get the child pages by using the navigation helper with the slug of that page:
navigation_for(:slug => 'main-navigation') { |pages| ... }
# LICENSE
-
+
See the file LICENSE.