-
Notifications
You must be signed in to change notification settings - Fork 0
Word Management for Merb
License
friofool/merb-words
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Installation: 1.) Install merb-words gem. sudo gem install merb-words 2.) Navigate to your merb application. cd ~/your_merb_app/ 3.) Add to your dependencies file. vim config/dependencies.rb a dependency 'merb-words' esc : wq 4.) Add options to your init file in the before_app_loads callback. vim config/init.rb a Merb::BootLoader.before_app_loads do Merb::Slices::config[:merb_words][:title] = 'Words' #Title of the index page and/or tab. end esc : wq 5.) Add to your router file. vim config/router.rb a slice(:merb_words) esc : wq 6.) Start your merb application and browse. http://your_domain/words ------------------------------------------------------------------------------ Advanced: # List all available tasks: rake -T slices:merb_words # Put your application-level overrides in: host-app/slices/merb-words/ # Templates are located in this order: 1. host-app/slices/merb-words/app/views/* 2. gems/merb-words/app/views/* 3. host-app/app/views/*
About
Word Management for Merb
Resources
License
Stars
Watchers
Forks
Releases
No releases published