Fixed unresponsive table on admin/user web page.

fixed secret key generation error
renamed config files from example.
This commit is contained in:
awasum 2016-03-07 08:00:23 +01:00
parent ac7149fbe5
commit 2ac7074a9d
2 changed files with 13 additions and 13 deletions

View file

@ -1,22 +1,21 @@
.row .row
.col-md-12 .col-md-12z
.page-header .page-header
%h2 %h2
Users Users
- if @users - if @users
= "(#{@users.length})" = "(#{@users.length})"
.row .table-responsive
.col-md-12 %table.table.table-striped.table-bordered.table-hover.datatable
%table.table.table-striped.table-bordered.table-hover.datatable %thead
%thead %th ID
%th ID %th State
%th State %th Email
%th Email %th Name
%th Name %th Attended Conferences
%th Attended Conferences %th Roles
%th Roles %th View
%th View %th Edit
%th Edit
%tbody %tbody
- @users.each do |user| - @users.each do |user|
%tr %tr

View file

@ -4,6 +4,7 @@
Devise.setup do |config| Devise.setup do |config|
# ==> Secret key, generate one with `rake secret` # ==> Secret key, generate one with `rake secret`
config.secret_key = Rails.application.secrets.devise_secret_key config.secret_key = Rails.application.secrets.devise_secret_key
config.secret_key = '0014809cd45aa9fc57a29118bbbc374437095fed0b39549b69aef61b9ad994f0e71a0bf54e66a5acec3d67d293495c1b6f4235e8b6415e4fe2bafb8f517121ea'
# ==> openIDs configuration # ==> openIDs configuration
# Define the available openID providers that can be used to log in # Define the available openID providers that can be used to log in