Skip to content

Commit 28e90d3

Browse files
committed
fixed user_path
1 parent 053f80f commit 28e90d3

File tree

17 files changed

+25
-24
lines changed

17 files changed

+25
-24
lines changed

app/assets/javascripts/projects.js.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ init = () ->
66
$('.qrcode').each () ->
77
$(this).qrcode($(this).attr('data-qrcode'));
88

9-
$(document).on 'ready page:load', init
9+
$(document).on 'ready page:load', init

app/assets/javascripts/users.js.coffee

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ load_bootstrap_validator = ->
88
message: I18n.t('js.errors.email.invalid')
99
notEmpty:
1010
message: I18n.t('js.errors.email.blank')
11-
11+
1212
"user[password]":
1313
validators:
1414
notEmpty:
1515
message: I18n.t('js.errors.password.blank')
1616
identical:
17-
field: 'user[password_confirmation]'
17+
field: 'user[password_confirmation]'
1818
message: I18n.t('js.errors.password.invalid')
19-
19+
2020
"user[password_confirmation]":
2121
validators:
2222
notEmpty:
2323
message: I18n.t('js.errors.password_confirmation.blank')
2424
identical:
25-
field: 'user[password]'
25+
field: 'user[password]'
2626
message: I18n.t('js.errors.password_confirmation.invalid')
2727
$('.session_form').bootstrapValidator
2828
message: I18n.t('js.errors.value.invalid')
@@ -33,10 +33,10 @@ load_bootstrap_validator = ->
3333
message: I18n.t('js.errors.email.invalid')
3434
notEmpty:
3535
message: I18n.t('js.errors.email.blank')
36-
36+
3737
"user[password]":
3838
validators:
3939
notEmpty:
4040
message: I18n.t('js.errors.password_confirmation.blank')
4141

42-
$(document).on "ready page:load", load_bootstrap_validator
42+
$(document).on "ready page:load", load_bootstrap_validator

app/models/deposit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ def project_name
2626
project.full_name
2727
end
2828

29-
end
29+
end

app/views/common/_menu.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
%li{class: controller_name == 'home' ? 'active' : ''}
33
%a{href: root_path}= t('menu.home')
44
%li{class: controller_name == 'projects' || @project ? 'active' : ''}
5-
%a{href: projects_path}= t('menu.projects')
5+
%a{href: projects_path}= t('menu.projects')

app/views/user_mailer/check_bitcoin_address.html.haml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
%strong= @user.bitcoin_address
77

88
%p
9-
If this address is not yours, please
9+
If this address is not yours, please
1010
= link_to 'update it', login_users_url(token: @user.login_token)
11-
11+
1212
%p Thank you for contributing to Open Source and sorry for troubles!
1313

14-
%p= link_to "tip4commit.com", "http://tip4commit.com/"
14+
%p= link_to "tip4commit.com", "http://tip4commit.com/"

app/views/users/index.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
%tbody
1010
- @users.each do |user|
1111
%tr
12-
%td
12+
%td
1313
- if user.nickname.blank?
1414
= user.display_name
1515
- else

config/database.yml.sample

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ production:
2323
encoding: utf8
2424
database: tip4commit
2525
username: root
26-
password:
27-
socket: /var/run/mysqld/mysqld.sock
26+
password:
27+
socket: /var/run/mysqld/mysqld.sock

config/deploy.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@
4040

4141
after :finishing, 'deploy:cleanup'
4242

43-
end
43+
end

config/environments/development.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# Don't care if the mailer can't send.
1717
config.action_mailer.raise_delivery_errors = false
1818

19-
config.action_mailer.default_url_options = { :host => "localhost:3000" }
19+
config.action_mailer.default_url_options = { :host => "localhost:3000" }
2020

2121
# Print deprecation notices to the Rails logger.
2222
config.active_support.deprecation = :log

config/i18n-js.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
translations:
22
- file: "app/assets/javascripts/i18n/translations.js"
3-
only: ['*.js']
3+
only: ['*.js']

0 commit comments

Comments
 (0)