Module: Saucy
- Defined in:
- lib/saucy/routing_extensions.rb,
lib/saucy/plan.rb,
lib/saucy/user.rb,
lib/saucy/engine.rb,
lib/saucy/account.rb,
lib/saucy/layouts.rb,
lib/saucy/project.rb,
lib/saucy/configuration.rb,
lib/generators/saucy/base.rb,
lib/saucy/projects_controller.rb,
lib/saucy/account_authorization.rb,
lib/generators/saucy/specs/specs_generator.rb,
lib/generators/saucy/views/views_generator.rb,
lib/generators/saucy/install/install_generator.rb,
lib/generators/saucy/features/features_generator.rb
Overview
This set of hacks extends Rails routing so that we can define pretty, unique, urls for account resources without having to specify every nested resource every time we generate a url.
For example, you can generate /accounts/thoughtbot/projects/hoptoad from project_path(@project), because the account can be inferred from the project.
Defined Under Namespace
Modules: Account, AccountAuthorization, Generators, MapperExtensions, Plan, Project, ProjectsController, User Classes: Configuration, Engine, Layouts, ThroughAlias