ecm_courses2 0.2.4 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 1ea3cd305efd0c2b4d939860e93d42820325ff66
4
- data.tar.gz: d6be0e7cfdfade76a7e8173140622da027045136
3
+ metadata.gz: 22e509ec5f4446d686670ccf8dd5c7694cf2302b
4
+ data.tar.gz: a2e59c88b7537bd1889c6f478df08c9c0c15420b
5
5
  SHA512:
6
- metadata.gz: 1589ca187af394004471f928fa30205dbe0bb2001ae54532f4f6774ef7773a8c5e201f2ab1e97e86a420cfac29cf3b5ea9eefc066e03f1ee4014abd248250f3f
7
- data.tar.gz: 15d15ea52adb6dbb3d0d2702941ab6101d8fb74ace78bc2d591a7dcaa4e49ce75ef1c7165610cde203359dfb1d444613ccdd11a9ced9fee3896e6f24a3af25a7
6
+ metadata.gz: 44718256c4e1931c42d8d12d3126f6b68ce0e3966ca552de5b46cff392622b955dbc829b309ab620938a9414440b4c8718a20042cf23c263ee06267c9095eacf
7
+ data.tar.gz: ea2d0aea60502e045ffad01c5f69a27c3df337936d064f23a8e0e5bbcffd05a671faf0875f35451f868d80628a259d7021023faaa165f9d285bf4d104381c6ef
@@ -58,6 +58,7 @@ de:
58
58
  course_categories:
59
59
  index: Kurskategorien
60
60
  routes:
61
+ ecm_courses: 'kurse'
61
62
  courses: 'kurse'
62
- course_categories: 'kurs-kategorien'
63
- course_dates: 'kurs-termine'
63
+ course_categories: 'kategorien'
64
+ course_dates: 'termine'
data/config/routes.rb CHANGED
@@ -1,12 +1,16 @@
1
1
  Ecm::Courses::Engine.routes.draw do
2
2
  localized do
3
- resources :course_categories, only: [:index, :show]
4
- resources :courses, only: [:show] do
5
- member do
6
- get "calendar", action: :calendar
7
- get "calendar/:year/:month", action: :calendar
3
+ scope :ecm_courses do
4
+ resources :course_categories, only: [:index, :show]
5
+ resources :courses, only: [:show] do
6
+ member do
7
+ get "calendar", action: :calendar
8
+ get "calendar/:year/:month", action: :calendar
9
+ end
8
10
  end
11
+ resources :course_dates, only: [:show]
12
+
13
+ root to: 'course_categories#index'
9
14
  end
10
- resources :course_dates, only: [:show]
11
15
  end
12
16
  end
@@ -1,5 +1,5 @@
1
1
  module Ecm
2
2
  module Courses
3
- VERSION = '0.2.4'.freeze
3
+ VERSION = '1.0.0'.freeze
4
4
  end
5
5
  end
@@ -1,6 +1,2 @@
1
1
 
2
-
3
- # ECM Courses Frontend Routing
4
- localized do
5
- mount Ecm::Courses::Engine, at: '/courses'
6
- end
2
+ mount Ecm::Courses::Engine, at: '/'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ecm_courses2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roberto Vasquez Angel
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-04-01 00:00:00.000000000 Z
11
+ date: 2017-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails