rostra 0.0.16 → 0.0.17

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.
@@ -15,9 +15,9 @@ module Rostra
15
15
 
16
16
  def create
17
17
  if @answer.save
18
- redirect_to question_path(@question, anchor: "rostra_answer_#{@answer.id}")
18
+ redirect_to question_path(@question)
19
19
  else
20
- redirect_to question_path(@question, anchor: 'new_rostra_answer')
20
+ render :new
21
21
  end
22
22
  end
23
23
 
@@ -0,0 +1,5 @@
1
+ <%= render 'rostra/shared/sidebar' %>
2
+
3
+ <div id="page_content">
4
+ <%= render 'rostra/answers/form' %>
5
+ </div>
@@ -1,3 +1,3 @@
1
1
  module Rostra
2
- VERSION = "0.0.16"
2
+ VERSION = "0.0.17"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rostra
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.0.16
5
+ version: 0.0.17
6
6
  platform: ruby
7
7
  authors:
8
8
  - Cory Schires
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-10-24 00:00:00 -05:00
13
+ date: 2011-10-25 00:00:00 -05:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -518,6 +518,7 @@ files:
518
518
  - app/views/layouts/rostra/application.html.erb
519
519
  - app/views/rostra/answers/_form.html.erb
520
520
  - app/views/rostra/answers/edit.html.erb
521
+ - app/views/rostra/answers/new.html.erb
521
522
  - app/views/rostra/answers/vote.js.erb
522
523
  - app/views/rostra/application_mailer/notification.html.erb
523
524
  - app/views/rostra/application_mailer/notification.text.erb