lib/global_session/rails.rb in global_session-2.0.3 vs lib/global_session/rails.rb in global_session-3.0.0
- old
+ new
@@ -18,9 +18,11 @@
# LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
# OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
# WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
require 'rack/contrib/cookies'
+
+# lib/global_session.rb does this for us, but just in case this file is required directly...
require 'action_pack'
require 'action_controller'
#Require the files necessary for Rails integration
require 'global_session/rack'