Browse Source

Remove jbuilder, unused

Maarten van den Berg 6 years ago
parent
commit
8756218372

+ 0 - 4
Gemfile

@@ -19,10 +19,6 @@ gem 'coffee-rails', '~> 4.2'
19 19
 gem 'jquery-rails'
20 20
 # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
21 21
 gem 'turbolinks', '~> 5'
22
-# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
23
-gem 'jbuilder', '~> 2.5'
24
-# Use Redis adapter to run Action Cable in production
25
-# gem 'redis', '~> 3.0'
26 22
 # Use ActiveModel has_secure_password
27 23
 gem 'bcrypt', '~> 3.1.7'
28 24
 

+ 0 - 2
app/views/activities/_activity.json.jbuilder

@@ -1,2 +0,0 @@
1
-json.extract! activity, :id, :created_at, :updated_at
2
-json.url activity_url(activity, format: :json)

+ 0 - 1
app/views/activities/index.json.jbuilder

@@ -1 +0,0 @@
1
-json.array! @activities, partial: 'activities/activity', as: :activity

+ 0 - 1
app/views/activities/show.json.jbuilder

@@ -1 +0,0 @@
1
-json.partial! "activities/activity", activity: @activity

+ 0 - 2
app/views/groups/_group.json.jbuilder

@@ -1,2 +0,0 @@
1
-json.extract! group, :id, :created_at, :updated_at
2
-json.url group_url(group, format: :json)

+ 0 - 1
app/views/groups/index.json.jbuilder

@@ -1 +0,0 @@
1
-json.array! @groups, partial: 'groups/group', as: :group

+ 0 - 1
app/views/groups/show.json.jbuilder

@@ -1 +0,0 @@
1
-json.partial! "groups/group", group: @group

+ 0 - 2
app/views/members/_member.json.jbuilder

@@ -1,2 +0,0 @@
1
-json.extract! member, :id, :created_at, :updated_at
2
-json.url member_url(member, format: :json)

+ 0 - 1
app/views/members/index.json.jbuilder

@@ -1 +0,0 @@
1
-json.array! @members, partial: 'members/member', as: :member

+ 0 - 1
app/views/members/show.json.jbuilder

@@ -1 +0,0 @@
1
-json.partial! "members/member", member: @member

+ 0 - 2
app/views/people/_person.json.jbuilder

@@ -1,2 +0,0 @@
1
-json.extract! person, :id, :created_at, :updated_at
2
-json.url person_url(person, format: :json)

+ 0 - 1
app/views/people/index.json.jbuilder

@@ -1 +0,0 @@
1
-json.array! @people, partial: 'people/person', as: :person

+ 0 - 1
app/views/people/show.json.jbuilder

@@ -1 +0,0 @@
1
-json.partial! "people/person", person: @person