No commit activity in last 3 years
No release in over 3 years
Injects angular-route-segment module into your asset pipeline.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
 Dependencies
 Project Readme

angular-route-segment-rails

angular-route-segment-rails wraps the angular-route-segment library for use in Rails 3.1 and above. Assets will minify automatically during production. It has dependency on angularjs-rails gem.

This gem no longer has angular gem in dependencies!

Usage

Add the following to your Gemfile:

gem 'angular-route-segment-rails'

Add the following line to your JavaScript manifest file (application.js) after angular-route and before your angular app:

//= require angular-route-segment

That's it! Now you can use route segments.