Add friendly_id to test group in gem file
This commit is contained in:
parent
f77d187f66
commit
8573b40e6f
1
Gemfile
1
Gemfile
|
@ -21,6 +21,7 @@ group :test do
|
|||
gem 'rspec-rails'
|
||||
gem 'simplecov'
|
||||
gem 'systemu'
|
||||
gem 'friendly_id', '~> 4.0.10.1'
|
||||
end
|
||||
|
||||
gemspec
|
||||
|
|
|
@ -2,8 +2,6 @@ class ProfilesController < ApplicationController
|
|||
helper_method :current_user
|
||||
|
||||
def show
|
||||
@profile = Profile.friendly.find params[:id]
|
||||
impressionist(@profile, nil, :unique => [:impressionable_type, :impressionable_id])
|
||||
end
|
||||
|
||||
def current_user
|
||||
|
|
Loading…
Reference in New Issue