ember-cli-rails-routes 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.gitignore +14 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +22 -0
- data/README.md +53 -0
- data/Rakefile +8 -0
- data/ember-cli-rails-routes.gemspec +29 -0
- data/lib/ember-cli-rails-routes.rb +8 -0
- data/lib/ember-cli/routes/ember_controller.rb +23 -0
- data/lib/ember-cli/routes/railtie.rb +9 -0
- data/lib/ember-cli/routes/routes_patch.rb +27 -0
- data/lib/ember-cli/routes/version.rb +5 -0
- data/spec/spec_helper.rb +96 -0
- data/test/dummy/.gitignore +17 -0
- data/test/dummy/Gemfile +44 -0
- data/test/dummy/Gemfile.lock +203 -0
- data/test/dummy/README.rdoc +28 -0
- data/test/dummy/Rakefile +6 -0
- data/test/dummy/app/assets/images/.keep +0 -0
- data/test/dummy/app/assets/javascripts/application.js +16 -0
- data/test/dummy/app/assets/stylesheets/application.css +15 -0
- data/test/dummy/app/controllers/application_controller.rb +5 -0
- data/test/dummy/app/controllers/concerns/.keep +0 -0
- data/test/dummy/app/helpers/application_helper.rb +2 -0
- data/test/dummy/app/mailers/.keep +0 -0
- data/test/dummy/app/models/.keep +0 -0
- data/test/dummy/app/models/concerns/.keep +0 -0
- data/test/dummy/app/views/application/index.html.erb +1 -0
- data/test/dummy/app/views/layouts/application.html.erb +14 -0
- data/test/dummy/bin/bundle +3 -0
- data/test/dummy/bin/rails +8 -0
- data/test/dummy/bin/rake +8 -0
- data/test/dummy/bin/setup +29 -0
- data/test/dummy/bin/spring +15 -0
- data/test/dummy/config.ru +4 -0
- data/test/dummy/config/application.rb +26 -0
- data/test/dummy/config/boot.rb +3 -0
- data/test/dummy/config/cucumber.yml +8 -0
- data/test/dummy/config/database.yml +28 -0
- data/test/dummy/config/environment.rb +5 -0
- data/test/dummy/config/environments/development.rb +41 -0
- data/test/dummy/config/environments/production.rb +79 -0
- data/test/dummy/config/environments/test.rb +42 -0
- data/test/dummy/config/initializers/assets.rb +11 -0
- data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
- data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
- data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
- data/test/dummy/config/initializers/inflections.rb +16 -0
- data/test/dummy/config/initializers/mime_types.rb +4 -0
- data/test/dummy/config/initializers/session_store.rb +3 -0
- data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
- data/test/dummy/config/locales/en.yml +23 -0
- data/test/dummy/config/routes.rb +3 -0
- data/test/dummy/config/secrets.yml +22 -0
- data/test/dummy/db/schema.rb +16 -0
- data/test/dummy/db/seeds.rb +7 -0
- data/test/dummy/features/renders_ember.feature +5 -0
- data/test/dummy/features/step_definitions/.gitkeep +0 -0
- data/test/dummy/features/step_definitions/navigation.rb +7 -0
- data/test/dummy/features/support/capybara_webkit.rb +1 -0
- data/test/dummy/features/support/env.rb +17 -0
- data/test/dummy/frontend/.bowerrc +4 -0
- data/test/dummy/frontend/.editorconfig +34 -0
- data/test/dummy/frontend/.ember-cli +9 -0
- data/test/dummy/frontend/.gitignore +17 -0
- data/test/dummy/frontend/.jshintrc +32 -0
- data/test/dummy/frontend/.travis.yml +23 -0
- data/test/dummy/frontend/.watchmanconfig +3 -0
- data/test/dummy/frontend/README.md +53 -0
- data/test/dummy/frontend/app/app.js +18 -0
- data/test/dummy/frontend/app/components/.gitkeep +0 -0
- data/test/dummy/frontend/app/controllers/.gitkeep +0 -0
- data/test/dummy/frontend/app/helpers/.gitkeep +0 -0
- data/test/dummy/frontend/app/index.html +25 -0
- data/test/dummy/frontend/app/models/.gitkeep +0 -0
- data/test/dummy/frontend/app/router.js +14 -0
- data/test/dummy/frontend/app/routes/.gitkeep +0 -0
- data/test/dummy/frontend/app/styles/app.css +0 -0
- data/test/dummy/frontend/app/templates/application.hbs +3 -0
- data/test/dummy/frontend/app/templates/components/.gitkeep +0 -0
- data/test/dummy/frontend/bower.json +16 -0
- data/test/dummy/frontend/config/environment.js +47 -0
- data/test/dummy/frontend/ember-cli-build.js +27 -0
- data/test/dummy/frontend/package.json +40 -0
- data/test/dummy/frontend/public/crossdomain.xml +15 -0
- data/test/dummy/frontend/public/robots.txt +3 -0
- data/test/dummy/frontend/testem.json +12 -0
- data/test/dummy/frontend/tests/.jshintrc +52 -0
- data/test/dummy/frontend/tests/helpers/resolver.js +11 -0
- data/test/dummy/frontend/tests/helpers/start-app.js +18 -0
- data/test/dummy/frontend/tests/index.html +33 -0
- data/test/dummy/frontend/tests/test-helper.js +6 -0
- data/test/dummy/frontend/tests/unit/.gitkeep +0 -0
- data/test/dummy/frontend/vendor/.gitkeep +0 -0
- data/test/dummy/lib/assets/.keep +0 -0
- data/test/dummy/lib/tasks/.keep +0 -0
- data/test/dummy/lib/tasks/cucumber.rake +65 -0
- data/test/dummy/log/.keep +0 -0
- data/test/dummy/public/404.html +67 -0
- data/test/dummy/public/422.html +67 -0
- data/test/dummy/public/500.html +66 -0
- data/test/dummy/public/favicon.ico +0 -0
- data/test/dummy/public/robots.txt +5 -0
- data/test/dummy/script/cucumber +10 -0
- data/test/dummy/test/controllers/.keep +0 -0
- data/test/dummy/test/fixtures/.keep +0 -0
- data/test/dummy/test/helpers/.keep +0 -0
- data/test/dummy/test/integration/.keep +0 -0
- data/test/dummy/test/mailers/.keep +0 -0
- data/test/dummy/test/models/.keep +0 -0
- data/test/dummy/test/test_helper.rb +10 -0
- data/test/dummy/vendor/assets/javascripts/.keep +0 -0
- data/test/dummy/vendor/assets/stylesheets/.keep +0 -0
- metadata +365 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
|
|
4
|
+
# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
|
|
5
|
+
|
|
6
|
+
# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
|
|
7
|
+
# Rails.backtrace_cleaner.remove_silencers!
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# Add new inflection rules using the following format. Inflections
|
|
4
|
+
# are locale specific, and you may define rules for as many different
|
|
5
|
+
# locales as you wish. All of these examples are active by default:
|
|
6
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
|
7
|
+
# inflect.plural /^(ox)$/i, '\1en'
|
|
8
|
+
# inflect.singular /^(ox)en/i, '\1'
|
|
9
|
+
# inflect.irregular 'person', 'people'
|
|
10
|
+
# inflect.uncountable %w( fish sheep )
|
|
11
|
+
# end
|
|
12
|
+
|
|
13
|
+
# These inflection rules are supported but not enabled by default:
|
|
14
|
+
# ActiveSupport::Inflector.inflections(:en) do |inflect|
|
|
15
|
+
# inflect.acronym 'RESTful'
|
|
16
|
+
# end
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# This file contains settings for ActionController::ParamsWrapper which
|
|
4
|
+
# is enabled by default.
|
|
5
|
+
|
|
6
|
+
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
|
|
7
|
+
ActiveSupport.on_load(:action_controller) do
|
|
8
|
+
wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
# To enable root element in JSON for ActiveRecord objects.
|
|
12
|
+
# ActiveSupport.on_load(:active_record) do
|
|
13
|
+
# self.include_root_in_json = true
|
|
14
|
+
# end
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
# Files in the config/locales directory are used for internationalization
|
|
2
|
+
# and are automatically loaded by Rails. If you want to use locales other
|
|
3
|
+
# than English, add the necessary files in this directory.
|
|
4
|
+
#
|
|
5
|
+
# To use the locales, use `I18n.t`:
|
|
6
|
+
#
|
|
7
|
+
# I18n.t 'hello'
|
|
8
|
+
#
|
|
9
|
+
# In views, this is aliased to just `t`:
|
|
10
|
+
#
|
|
11
|
+
# <%= t('hello') %>
|
|
12
|
+
#
|
|
13
|
+
# To use a different locale, set it with `I18n.locale`:
|
|
14
|
+
#
|
|
15
|
+
# I18n.locale = :es
|
|
16
|
+
#
|
|
17
|
+
# This would use the information in config/locales/es.yml.
|
|
18
|
+
#
|
|
19
|
+
# To learn more, please read the Rails Internationalization guide
|
|
20
|
+
# available at http://guides.rubyonrails.org/i18n.html.
|
|
21
|
+
|
|
22
|
+
en:
|
|
23
|
+
hello: "Hello world"
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# Be sure to restart your server when you modify this file.
|
|
2
|
+
|
|
3
|
+
# Your secret key is used for verifying the integrity of signed cookies.
|
|
4
|
+
# If you change this key, all old signed cookies will become invalid!
|
|
5
|
+
|
|
6
|
+
# Make sure the secret is at least 30 characters and all random,
|
|
7
|
+
# no regular words or you'll be exposed to dictionary attacks.
|
|
8
|
+
# You can use `rake secret` to generate a secure secret key.
|
|
9
|
+
|
|
10
|
+
# Make sure the secrets in this file are kept private
|
|
11
|
+
# if you're sharing your code publicly.
|
|
12
|
+
|
|
13
|
+
development:
|
|
14
|
+
secret_key_base: f6535595ff321b7bc57fa6af9e52a30607f5c3aab14c3e9937845d9c975a4bee7b7dc7cb20f5dd4cfbf8afd094908d00e26d83cf29f76d4ba6aebbcbcf6dfa8f
|
|
15
|
+
|
|
16
|
+
test:
|
|
17
|
+
secret_key_base: e42f206b5234348f2776ce016b431d41a0de6a4e71783ef893734c93dfedca8ab9db9d323877939d37253dd908f84213efb3378fe074a9e4f2e098385c754997
|
|
18
|
+
|
|
19
|
+
# Do not keep production secrets in the repository,
|
|
20
|
+
# instead read values from the environment.
|
|
21
|
+
production:
|
|
22
|
+
secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
# encoding: UTF-8
|
|
2
|
+
# This file is auto-generated from the current state of the database. Instead
|
|
3
|
+
# of editing this file, please use the migrations feature of Active Record to
|
|
4
|
+
# incrementally modify your database, and then regenerate this schema definition.
|
|
5
|
+
#
|
|
6
|
+
# Note that this schema.rb definition is the authoritative source for your
|
|
7
|
+
# database schema. If you need to create the application database on another
|
|
8
|
+
# system, you should be using db:schema:load, not running all the migrations
|
|
9
|
+
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
|
|
10
|
+
# you'll amass, the slower it'll run and the greater likelihood for issues).
|
|
11
|
+
#
|
|
12
|
+
# It's strongly recommended that you check this file into your version control system.
|
|
13
|
+
|
|
14
|
+
ActiveRecord::Schema.define(version: 0) do
|
|
15
|
+
|
|
16
|
+
end
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
# This file should contain all the record creation needed to seed the database with its default values.
|
|
2
|
+
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
|
3
|
+
#
|
|
4
|
+
# Examples:
|
|
5
|
+
#
|
|
6
|
+
# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
|
|
7
|
+
# Mayor.create(name: 'Emanuel', city: cities.first)
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Capybara.javascript_driver = :webkit
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
require 'cucumber/rails'
|
|
2
|
+
|
|
3
|
+
ActionController::Base.allow_rescue = false
|
|
4
|
+
|
|
5
|
+
begin
|
|
6
|
+
DatabaseCleaner.strategy = :transaction
|
|
7
|
+
rescue NameError
|
|
8
|
+
raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
|
|
9
|
+
end
|
|
10
|
+
|
|
11
|
+
Cucumber::Rails::Database.javascript_strategy = :truncation
|
|
12
|
+
|
|
13
|
+
RSpec.configure do |config|
|
|
14
|
+
config.expect_with :rspec do |c|
|
|
15
|
+
c.syntax = :expect
|
|
16
|
+
end
|
|
17
|
+
end
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# EditorConfig helps developers define and maintain consistent
|
|
2
|
+
# coding styles between different editors and IDEs
|
|
3
|
+
# editorconfig.org
|
|
4
|
+
|
|
5
|
+
root = true
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
[*]
|
|
9
|
+
end_of_line = lf
|
|
10
|
+
charset = utf-8
|
|
11
|
+
trim_trailing_whitespace = true
|
|
12
|
+
insert_final_newline = true
|
|
13
|
+
indent_style = space
|
|
14
|
+
indent_size = 2
|
|
15
|
+
|
|
16
|
+
[*.js]
|
|
17
|
+
indent_style = space
|
|
18
|
+
indent_size = 2
|
|
19
|
+
|
|
20
|
+
[*.hbs]
|
|
21
|
+
insert_final_newline = false
|
|
22
|
+
indent_style = space
|
|
23
|
+
indent_size = 2
|
|
24
|
+
|
|
25
|
+
[*.css]
|
|
26
|
+
indent_style = space
|
|
27
|
+
indent_size = 2
|
|
28
|
+
|
|
29
|
+
[*.html]
|
|
30
|
+
indent_style = space
|
|
31
|
+
indent_size = 2
|
|
32
|
+
|
|
33
|
+
[*.{diff,md}]
|
|
34
|
+
trim_trailing_whitespace = false
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
/**
|
|
3
|
+
Ember CLI sends analytics information by default. The data is completely
|
|
4
|
+
anonymous, but there are times when you might want to disable this behavior.
|
|
5
|
+
|
|
6
|
+
Setting `disableAnalytics` to true will prevent any data from being sent.
|
|
7
|
+
*/
|
|
8
|
+
"disableAnalytics": false
|
|
9
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# See http://help.github.com/ignore-files/ for more about ignoring files.
|
|
2
|
+
|
|
3
|
+
# compiled output
|
|
4
|
+
/dist
|
|
5
|
+
/tmp
|
|
6
|
+
|
|
7
|
+
# dependencies
|
|
8
|
+
/node_modules
|
|
9
|
+
/bower_components
|
|
10
|
+
|
|
11
|
+
# misc
|
|
12
|
+
/.sass-cache
|
|
13
|
+
/connect.lock
|
|
14
|
+
/coverage/*
|
|
15
|
+
/libpeerconnection.log
|
|
16
|
+
npm-debug.log
|
|
17
|
+
testem.log
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
{
|
|
2
|
+
"predef": [
|
|
3
|
+
"document",
|
|
4
|
+
"window",
|
|
5
|
+
"-Promise"
|
|
6
|
+
],
|
|
7
|
+
"browser": true,
|
|
8
|
+
"boss": true,
|
|
9
|
+
"curly": true,
|
|
10
|
+
"debug": false,
|
|
11
|
+
"devel": true,
|
|
12
|
+
"eqeqeq": true,
|
|
13
|
+
"evil": true,
|
|
14
|
+
"forin": false,
|
|
15
|
+
"immed": false,
|
|
16
|
+
"laxbreak": false,
|
|
17
|
+
"newcap": true,
|
|
18
|
+
"noarg": true,
|
|
19
|
+
"noempty": false,
|
|
20
|
+
"nonew": false,
|
|
21
|
+
"nomen": false,
|
|
22
|
+
"onevar": false,
|
|
23
|
+
"plusplus": false,
|
|
24
|
+
"regexp": false,
|
|
25
|
+
"undef": true,
|
|
26
|
+
"sub": true,
|
|
27
|
+
"strict": false,
|
|
28
|
+
"white": false,
|
|
29
|
+
"eqnull": true,
|
|
30
|
+
"esnext": true,
|
|
31
|
+
"unused": true
|
|
32
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
---
|
|
2
|
+
language: node_js
|
|
3
|
+
node_js:
|
|
4
|
+
- "0.12"
|
|
5
|
+
|
|
6
|
+
sudo: false
|
|
7
|
+
|
|
8
|
+
cache:
|
|
9
|
+
directories:
|
|
10
|
+
- node_modules
|
|
11
|
+
|
|
12
|
+
before_install:
|
|
13
|
+
- export PATH=/usr/local/phantomjs-2.0.0/bin:$PATH
|
|
14
|
+
- "npm config set spin false"
|
|
15
|
+
- "npm install -g npm@^2"
|
|
16
|
+
|
|
17
|
+
install:
|
|
18
|
+
- npm install -g bower
|
|
19
|
+
- npm install
|
|
20
|
+
- bower install
|
|
21
|
+
|
|
22
|
+
script:
|
|
23
|
+
- npm test
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# Frontend
|
|
2
|
+
|
|
3
|
+
This README outlines the details of collaborating on this Ember application.
|
|
4
|
+
A short introduction of this app could easily go here.
|
|
5
|
+
|
|
6
|
+
## Prerequisites
|
|
7
|
+
|
|
8
|
+
You will need the following things properly installed on your computer.
|
|
9
|
+
|
|
10
|
+
* [Git](http://git-scm.com/)
|
|
11
|
+
* [Node.js](http://nodejs.org/) (with NPM)
|
|
12
|
+
* [Bower](http://bower.io/)
|
|
13
|
+
* [Ember CLI](http://www.ember-cli.com/)
|
|
14
|
+
* [PhantomJS](http://phantomjs.org/)
|
|
15
|
+
|
|
16
|
+
## Installation
|
|
17
|
+
|
|
18
|
+
* `git clone <repository-url>` this repository
|
|
19
|
+
* change into the new directory
|
|
20
|
+
* `npm install`
|
|
21
|
+
* `bower install`
|
|
22
|
+
|
|
23
|
+
## Running / Development
|
|
24
|
+
|
|
25
|
+
* `ember server`
|
|
26
|
+
* Visit your app at [http://localhost:4200](http://localhost:4200).
|
|
27
|
+
|
|
28
|
+
### Code Generators
|
|
29
|
+
|
|
30
|
+
Make use of the many generators for code, try `ember help generate` for more details
|
|
31
|
+
|
|
32
|
+
### Running Tests
|
|
33
|
+
|
|
34
|
+
* `ember test`
|
|
35
|
+
* `ember test --server`
|
|
36
|
+
|
|
37
|
+
### Building
|
|
38
|
+
|
|
39
|
+
* `ember build` (development)
|
|
40
|
+
* `ember build --environment production` (production)
|
|
41
|
+
|
|
42
|
+
### Deploying
|
|
43
|
+
|
|
44
|
+
Specify what it takes to deploy your app.
|
|
45
|
+
|
|
46
|
+
## Further Reading / Useful Links
|
|
47
|
+
|
|
48
|
+
* [ember.js](http://emberjs.com/)
|
|
49
|
+
* [ember-cli](http://www.ember-cli.com/)
|
|
50
|
+
* Development Browser Extensions
|
|
51
|
+
* [ember inspector for chrome](https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi)
|
|
52
|
+
* [ember inspector for firefox](https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/)
|
|
53
|
+
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import Ember from 'ember';
|
|
2
|
+
import Resolver from 'ember/resolver';
|
|
3
|
+
import loadInitializers from 'ember/load-initializers';
|
|
4
|
+
import config from './config/environment';
|
|
5
|
+
|
|
6
|
+
var App;
|
|
7
|
+
|
|
8
|
+
Ember.MODEL_FACTORY_INJECTIONS = true;
|
|
9
|
+
|
|
10
|
+
App = Ember.Application.extend({
|
|
11
|
+
modulePrefix: config.modulePrefix,
|
|
12
|
+
podModulePrefix: config.podModulePrefix,
|
|
13
|
+
Resolver: Resolver
|
|
14
|
+
});
|
|
15
|
+
|
|
16
|
+
loadInitializers(App, config.modulePrefix);
|
|
17
|
+
|
|
18
|
+
export default App;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<title>Frontend</title>
|
|
7
|
+
<meta name="description" content="">
|
|
8
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
9
|
+
|
|
10
|
+
{{content-for 'head'}}
|
|
11
|
+
|
|
12
|
+
<link rel="stylesheet" href="assets/vendor.css">
|
|
13
|
+
<link rel="stylesheet" href="assets/frontend.css">
|
|
14
|
+
|
|
15
|
+
{{content-for 'head-footer'}}
|
|
16
|
+
</head>
|
|
17
|
+
<body>
|
|
18
|
+
{{content-for 'body'}}
|
|
19
|
+
|
|
20
|
+
<script src="assets/vendor.js"></script>
|
|
21
|
+
<script src="assets/frontend.js"></script>
|
|
22
|
+
|
|
23
|
+
{{content-for 'body-footer'}}
|
|
24
|
+
</body>
|
|
25
|
+
</html>
|
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import Ember from 'ember';
|
|
2
|
+
import config from './config/environment';
|
|
3
|
+
|
|
4
|
+
var Router = Ember.Router.extend({
|
|
5
|
+
location: config.locationType
|
|
6
|
+
});
|
|
7
|
+
|
|
8
|
+
Router.map(function() {
|
|
9
|
+
this.route('frontend', { path: '/app/foo' }, function() {
|
|
10
|
+
|
|
11
|
+
});
|
|
12
|
+
});
|
|
13
|
+
|
|
14
|
+
export default Router;
|
|
File without changes
|
|
File without changes
|