enju_message 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -40,7 +40,7 @@ class MessageRequestsController < ApplicationController
40
40
  if @message_request.update_attributes(params[:message_request])
41
41
  flash[:notice] = t('controller.successfully_updated', :model => t('activerecord.models.message_request'))
42
42
  format.html { redirect_to(@message_request) }
43
- format.json { head :ok }
43
+ format.json { head :no_content }
44
44
  else
45
45
  @message_templates = MessageTemplate.all
46
46
  format.html { render :action => "edit" }
@@ -55,8 +55,8 @@ class MessageRequestsController < ApplicationController
55
55
  @message_request.destroy
56
56
 
57
57
  respond_to do |format|
58
- format.html { redirect_to(message_requests_url) }
59
- format.json { head :ok }
58
+ format.html { redirect_to message_requests_url }
59
+ format.json { head :no_content }
60
60
  end
61
61
  end
62
62
  end
@@ -48,13 +48,13 @@
48
48
  <li>
49
49
  <% facet.value ? facet_mode = 'read' : facet_mode = 'unread' %>
50
50
  <%- if facet_mode == mode -%><strong><%- end -%>
51
- <%= link_to t("message.#{facet_mode}"), url_for(params.merge(:page => nil, :mode => facet_mode)) -%>
51
+ <%= link_to t("message.#{facet_mode}"), url_for(params.merge(:page => nil, :mode => facet_mode, :only_path => true)) -%>
52
52
  (<%= facet.count -%>)
53
53
  <%- if facet_mode == mode -%></strong><%- end -%>
54
54
  </li>
55
55
  <%- end -%>
56
56
  <% if mode.present? %>
57
- <li><%= link_to t('page.remove_this_facet'), url_for(params.merge(:mode => nil, :page => nil)) -%></li>
57
+ <li><%= link_to t('page.remove_this_facet'), url_for(params.merge(:mode => nil, :page => nil, :only_path => true)) -%></li>
58
58
  <% end %>
59
59
  </ul>
60
60
 
@@ -1,3 +1,3 @@
1
1
  module EnjuMessage
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -92,10 +92,6 @@ Devise.setup do |config|
92
92
  # If true, extends the user's remember period when remembered via cookie.
93
93
  # config.extend_remember_period = false
94
94
 
95
- # If true, uses the password salt as remember token. This should be turned
96
- # to false if you are not using database authenticatable.
97
- config.use_salt_as_remember_token = true
98
-
99
95
  # Options to be passed to the created cookie. For instance, you can set
100
96
  # :secure => true in order to force SSL only cookies.
101
97
  # config.cookie_options = {}
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: enju_message
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-05-08 00:00:00.000000000 Z
12
+ date: 2012-05-25 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails