helpdesk 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/helpdesk/dashboard_controller.rb +1 -1
- data/app/controllers/helpdesk/faqs_controller.rb +1 -1
- data/app/controllers/helpdesk/subscribers_controller.rb +13 -13
- data/config/locales/helpdesk.en.yml +1 -0
- data/config/locales/helpdesk.pl.yml +1 -0
- data/lib/helpdesk/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cb3f72d7a03c39c62da16e28615e741fdcd7b62
|
4
|
+
data.tar.gz: b641bf423b7570a5a37b475214e7d554f65b1ab4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b15157ca00a0e6a97f3284a11148353c68e1df2095e296f57ee0b8c0720db372db89d74353b259aae2d7e0c9adeefa9ec4d3f295227efe479ee07c3cb4df824
|
7
|
+
data.tar.gz: 859e437996426672a8e52db55837e4aeea6562985d51e3a83ca7232e3f756946feb0c74269f6585a4f669e36a99c65ab4d9ba4371b1c7a85585d13e1ce551458
|
@@ -1,48 +1,48 @@
|
|
1
1
|
module Helpdesk
|
2
|
-
class SubscribersController < ApplicationController
|
2
|
+
class SubscribersController < Helpdesk::ApplicationController
|
3
3
|
# GET /subscribers
|
4
4
|
# GET /subscribers.json
|
5
5
|
def index
|
6
6
|
@subscribers = Subscriber.all
|
7
|
-
|
7
|
+
|
8
8
|
respond_to do |format|
|
9
9
|
format.html # index.html.erb
|
10
10
|
format.json { render json: @subscribers }
|
11
11
|
end
|
12
12
|
end
|
13
|
-
|
13
|
+
|
14
14
|
# GET /subscribers/1
|
15
15
|
# GET /subscribers/1.json
|
16
16
|
def show
|
17
17
|
@subscriber = Subscriber.find(params[:id])
|
18
|
-
|
18
|
+
|
19
19
|
respond_to do |format|
|
20
20
|
format.html # show.html.erb
|
21
21
|
format.json { render json: @subscriber }
|
22
22
|
end
|
23
23
|
end
|
24
|
-
|
24
|
+
|
25
25
|
# GET /subscribers/new
|
26
26
|
# GET /subscribers/new.json
|
27
27
|
def new
|
28
28
|
@subscriber = Subscriber.new
|
29
|
-
|
29
|
+
|
30
30
|
respond_to do |format|
|
31
31
|
format.html # new.html.erb
|
32
32
|
format.json { render json: @subscriber }
|
33
33
|
end
|
34
34
|
end
|
35
|
-
|
35
|
+
|
36
36
|
# GET /subscribers/1/edit
|
37
37
|
def edit
|
38
38
|
@subscriber = Subscriber.find(params[:id])
|
39
39
|
end
|
40
|
-
|
40
|
+
|
41
41
|
# POST /subscribers
|
42
42
|
# POST /subscribers.json
|
43
43
|
def create
|
44
44
|
@subscriber = Subscriber.new(params[:subscriber])
|
45
|
-
|
45
|
+
|
46
46
|
respond_to do |format|
|
47
47
|
if @subscriber.save
|
48
48
|
format.html { redirect_to @subscriber, notice: 'Subscriber was successfully created.' }
|
@@ -53,12 +53,12 @@ module Helpdesk
|
|
53
53
|
end
|
54
54
|
end
|
55
55
|
end
|
56
|
-
|
56
|
+
|
57
57
|
# PUT /subscribers/1
|
58
58
|
# PUT /subscribers/1.json
|
59
59
|
def update
|
60
60
|
@subscriber = Subscriber.find(params[:id])
|
61
|
-
|
61
|
+
|
62
62
|
respond_to do |format|
|
63
63
|
if @subscriber.update_attributes(params[:subscriber])
|
64
64
|
format.html { redirect_to @subscriber, notice: 'Subscriber was successfully updated.' }
|
@@ -69,13 +69,13 @@ module Helpdesk
|
|
69
69
|
end
|
70
70
|
end
|
71
71
|
end
|
72
|
-
|
72
|
+
|
73
73
|
# DELETE /subscribers/1
|
74
74
|
# DELETE /subscribers/1.json
|
75
75
|
def destroy
|
76
76
|
@subscriber = Subscriber.find(params[:id])
|
77
77
|
@subscriber.destroy
|
78
|
-
|
78
|
+
|
79
79
|
respond_to do |format|
|
80
80
|
format.html { redirect_to subscribers_url }
|
81
81
|
format.json { head :no_content }
|
data/lib/helpdesk/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: helpdesk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Beynon Wacław Łuczak
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-01-
|
11
|
+
date: 2014-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: launchy
|