constructor-core 0.5.4 → 0.5.5

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.
@@ -2,6 +2,8 @@
2
2
 
3
3
  module ConstructorCore
4
4
  class ApplicationController < ApplicationController
5
+ before_filter :authenticate_user!, :except => [:show]
6
+
5
7
  helper_method :current_user
6
8
 
7
9
  private
@@ -2,7 +2,7 @@
2
2
 
3
3
  module ConstructorCore
4
4
  class SessionsController < Devise::SessionsController
5
- layout 'constructor_core/application_admin'
5
+ layout 'constructor_core/application'
6
6
 
7
7
  def after_sign_in_path_for(resource)
8
8
  return '/admin/pages'
@@ -1,3 +1,3 @@
1
1
  module ConstructorCore
2
- VERSION = '0.5.4'
2
+ VERSION = '0.5.5'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: constructor-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
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: 2013-06-16 00:00:00.000000000 Z
12
+ date: 2013-06-17 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -124,7 +124,7 @@ files:
124
124
  - app/views/constructor_core/devise/unlocks/new.html.haml
125
125
  - app/views/constructor_core/sessions/new.html.haml
126
126
  - app/views/constructor_core/users/profile.haml
127
- - app/views/layouts/constructor_core/application_admin.haml
127
+ - app/views/layouts/constructor_core/application.haml
128
128
  - config/environments/production.rb
129
129
  - config/initializers/devise.rb
130
130
  - config/locales/devise.en.yml