Created
May 1, 2012 03:56
-
-
Save steveh/2564839 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%= link_to "Admin", main_app.admin_path %> | |
| I'm expecting main_app.admin_path to return /admin, but it returns /store/admin. Using it outside a cell, i.e. in just a partial, it works as expected. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <%= render_cell :header %> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| MyApp::Application.routes.draw do | |
| mount Spree::Core::Engine, :at => "store" | |
| # Spree defines a route at "store/admin" | |
| get "admin" => "admin#index" | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment