helpdesk 0.0.6 → 0.0.7

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: 2690af30a0182813389d3feed19ddcfd22e26890
4
- data.tar.gz: 6f88891cb9325df32543830a55e05757908a74f6
3
+ metadata.gz: f2aa67830f241eb4af04d4431c6cc92c33fc45d2
4
+ data.tar.gz: 3c756a86c4fb44f8552231ea770cea3e7fd0c041
5
5
  SHA512:
6
- metadata.gz: e58b448e3e30d868d55c52a40ed8e189103ab9934d55bc555f08d5992e9fd6bf87cc0008f2e0aa82b3129a17799d4ef075e3b6e378688e851f3bbec329b7b387
7
- data.tar.gz: 4c8d763baa2bc3a1d062d23790d571d7d6446d667ea9b80ef15b8b085038d65cb1e57bb3ac431c7bc170ee5a28ea679a21959d84d5956de4bac52c5c2e14c6c3
6
+ metadata.gz: 1c3b8be0857bdd76e9df1a78832096dc24e719c4304cea40a9679b206c8a4f8f78dde59a965bcade6774bbb8048b3f4895e313c8e7cadad99a5e2d35c0f0a706
7
+ data.tar.gz: 35cf800c5cac6ec536b52cfbdbf38314233ba0d71e30025a8315d589ad0c4524da53c837af37d20a6b9c8942637f2140325128b9dce1f47fa451001b6cac3863
@@ -32,18 +32,18 @@ class Helpdesk::Admin::TicketsController < Helpdesk::Admin::BaseController
32
32
 
33
33
  def edit
34
34
  @ticket = Helpdesk::Ticket.find(params[:id])
35
-
35
+
36
36
  end
37
37
 
38
38
  def show
39
39
  @ticket = Helpdesk::Ticket.find(params[:id])
40
-
40
+
41
41
  end
42
42
 
43
43
  def create
44
44
  @ticket = Helpdesk::Ticket.new(params[:ticket])
45
45
  if @ticket.save
46
- redirect_to admin_ticket_path
46
+ redirect_to admin_ticket_path(@ticket)
47
47
  else
48
48
  render action: "new"
49
49
  end
@@ -9,7 +9,7 @@ module Helpdesk
9
9
  end
10
10
  end
11
11
  end
12
-
12
+
13
13
 
14
14
  def menu_li(lbl, path, *args)
15
15
  options = args.extract_options!
@@ -1,3 +1,3 @@
1
1
  module Helpdesk
2
- VERSION = "0.0.6"
2
+ VERSION = "0.0.7"
3
3
  end
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.6
4
+ version: 0.0.7
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: 2013-09-17 00:00:00.000000000 Z
11
+ date: 2013-09-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: launchy